$desc
$desc : string
Docblock description
Docblock generator code class
parse(string $docblock, string $forceIndent = null) : \Pop\Code\Generator\DocblockGenerator
Static method to parse a docblock string and return a new docblock generator object.
string | $docblock | |
string | $forceIndent |
setDesc(string $desc = null) : \Pop\Code\Generator\DocblockGenerator
Set the docblock description
string | $desc |
setIndent(string $indent = null) : \Pop\Code\Generator\DocblockGenerator
Set the docblock indent
string | $indent |
setTag(string $name, string $desc = null) : \Pop\Code\Generator\DocblockGenerator
Add a basic tag
string | $name | |
string | $desc |
setTags(array $tags) : \Pop\Code\Generator\DocblockGenerator
Add basic tags
array | $tags |
setParam(string $type, string $var = null, string $desc = null) : \Pop\Code\Generator\DocblockGenerator
Add a param tag
string | $type | |
string | $var | |
string | $desc |
setParams(array $params) : \Pop\Code\Generator\DocblockGenerator
Add a param tag
array | $params |
setReturn(string $type, string $desc = null) : \Pop\Code\Generator\DocblockGenerator
Add a return tag
string | $type | |
string | $desc |