$docblock
$docblock : \Pop\Code\Generator\DocblockGenerator
Docblock generator object
Generator code class
$docblock : \Pop\Code\Generator\DocblockGenerator
Docblock generator object
setDocblock(\Pop\Code\Generator\DocblockGenerator $docblock) : \Pop\Code\Generator\Traits\DocblockTrait
Set the docblock generator object
\Pop\Code\Generator\DocblockGenerator | $docblock |
getDocblock() : \Pop\Code\Generator\DocblockGenerator
Access the docblock generator object
setDesc(string $desc = null) : \Pop\Code\Generator\Traits\DocblockTrait
Set the docblock description
string | $desc |
setIndent(string $indent) : \Pop\Code\Generator\AbstractGenerator
Set the indent
string | $indent |
addCodeObjects(array $codeObjects) : \Pop\Code\Generator
Add code generator objects
array | $codeObjects |
addCodeObject(\Pop\Code\Generator\GeneratorInterface $codeObject, string $namespace = null) : \Pop\Code\Generator
Add a code generator object
\Pop\Code\Generator\GeneratorInterface | $codeObject | |
string | $namespace |
setCloseTag(boolean $close = false) : \Pop\Code\Generator
Set the code close tag flag
boolean | $close |
setEnv(string $env = null) : \Pop\Code\Generator
Set the environment
string | $env |
setFilename(string $filename) : \Pop\Code\Generator
Set the filename
string | $filename |