3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Code\Generator
;
12 class BodyGenerator
extends AbstractGenerator
17 protected $content = null;
20 * @param string $content
21 * @return BodyGenerator
23 public function setContent($content)
25 $this->content
= (string) $content;
32 public function getContent()
34 return $this->content
;
40 public function generate()
42 return $this->getContent();