$name
$name : string
Name
Namespace generator class
$docblock : \Pop\Code\Generator\DocblockGenerator
Docblock generator object
setName(string $name) : \Pop\Code\Generator\Traits\NameTrait
Set the name
string | $name |
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 |
addUse(string $use, string $as = null) : \Pop\Code\Generator\Traits\UseTrait
Add a namespace to use
string | $use | |
string | $as |
addUses(array $uses) : \Pop\Code\Generator\Traits\UseTrait
Add namespaces to use
array | $uses |
setIndent(string $indent) : \Pop\Code\Generator\AbstractGenerator
Set the indent
string | $indent |