$docblock
$docblock : \Pop\Code\Generator\DocblockGenerator
Docblock generator object
Property generator code class
$docblock : \Pop\Code\Generator\DocblockGenerator
Docblock generator object
__construct(string $name, string $type, mixed $value = null, string $visibility = 'public') : \Pop\Code\Generator\PropertyGenerator
Constructor
Instantiate the property generator object
| string | $name | |
| string | $type | |
| mixed | $value | |
| string | $visibility |
setStatic(boolean $static = false) : \Pop\Code\Generator\PropertyGenerator
Set the property static flag
| boolean | $static |
setDesc(string $desc = null) : \Pop\Code\Generator\PropertyGenerator
Set the property description
| string | $desc |
setIndent(string $indent = null) : \Pop\Code\Generator\PropertyGenerator
Set the property indent
| string | $indent |
setType(string $type) : \Pop\Code\Generator\PropertyGenerator
Set the property type
| string | $type |
setName(string $name) : \Pop\Code\Generator\PropertyGenerator
Set the property name
| string | $name |
setValue(mixed $value = null) : \Pop\Code\Generator\PropertyGenerator
Set the property value
| mixed | $value |
setVisibility(string $visibility = 'public') : \Pop\Code\Generator\PropertyGenerator
Set the property visibility
| string | $visibility |
setDocblock(\Pop\Code\Generator\DocblockGenerator $docblock) : \Pop\Code\Generator\PropertyGenerator
Set the docblock generator object
| \Pop\Code\Generator\DocblockGenerator | $docblock |
getDocblock() : \Pop\Code\Generator\DocblockGenerator
Access the docblock generator object