Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
BodyGenerator.php
01 <?php
02 /**
03 * Zend Framework (http://framework.zend.com/)
04 *
05 * @link http://github.com/zendframework/zf2 for the canonical source repository
06 * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
07 * @license http://framework.zend.com/license/new-bsd New BSD License
08 */
09
10 namespace Zend\Code\Generator;
11
12 class BodyGenerator extends AbstractGenerator
13 {
14 /**
15 * @var string
16 */
17 protected $content;
18
19 /**
20 * @param string $content
21 * @return BodyGenerator
22 */
23 public function setContent($content)
24 {
25 $this->content = (string) $content;
26 return $this;
27 }
28
29 /**
30 * @return string
31 */
32 public function getContent()
33 {
34 return $this->content;
35 }
36
37 /**
38 * @return string
39 */
40 public function generate()
41 {
42 return $this->getContent();
43 }
44 }
45