$docblock
$docblock : \Pop\Code\Generator\DocblockGenerator
Docblock generator object
Body generator 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 |
setBody(string $body, integer $indent = 4) : \Pop\Code\Generator\Traits\BodyTrait
Set the function body
string | $body | |
integer | $indent |
appendToBody(string $body) : \Pop\Code\Generator\Traits\BodyTrait
Append to the function body
string | $body |
indentBody(integer $indent) : \Pop\Code\Generator\Traits\BodyTrait
Append to the function body
integer | $indent |
setIndent(string $indent) : \Pop\Code\Generator\AbstractGenerator
Set the indent
string | $indent |
createReturnConfig(array $config, integer $indent = 4) : \Pop\Code\Generator\BodyGenerator
Create return config
array | $config | |
integer | $indent |