[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/zendframework/zend-code/src/Generator/ -> BodyGenerator.php (source)

   1  <?php
   2  /**
   3   * Zend Framework (http://framework.zend.com/)
   4   *
   5   * @link      http://github.com/zendframework/zf2 for the canonical source repository
   6   * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
   7   * @license   http://framework.zend.com/license/new-bsd New BSD License
   8   */
   9  
  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  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1