Zend\Code\Generator\BodyGenerator
Synopsis
class BodyGenerator
extends AbstractGenerator
{
- // Inherited constants from AbstractGenerator
- const LINE_FEED = "\n";
- // members
- protected string $content;
- // Inherited members from AbstractGenerator
- protected bool $isSourceDirty;
- protected int|string $indentation;
- protected string $sourceContent;
- // methods
- public BodyGenerator setContent()
- public string getContent()
- public string generate()
- // Inherited methods from AbstractGenerator
- public void __construct()
- public AbstractGenerator setSourceDirty()
- public bool isSourceDirty()
- public AbstractGenerator setIndentation()
- public string getIndentation()
- public AbstractGenerator setSourceContent()
- public string getSourceContent()
- public AbstractGenerator setOptions()
Hierarchy
Constants
Name | Value |
---|---|
LINE_FEED | "\n" |
Members
protected
- $content — string
- $indentation — Zend\Code\Generator\int|string
- $isSourceDirty — Zend\Code\Generator\bool
- $sourceContent — string