Method |
Description |
|
__construct ( string $name, string $type, mixed $value = null, string $visibility = 'public' ) : PropertyGenerator |
Constructor |
|
__toString ( ) : string |
Print property |
|
factory ( string $name, string $type, mixed $value = null, string $visibility = 'public' ) : PropertyGenerator |
Static method to instantiate the property generator object and return itself
to facilitate chaining methods together. |
|
getDesc ( ) : string |
Get the property description |
|
getDocblock ( ) : DocblockGenerator |
Access the docblock generator object |
|
getIndent ( ) : string |
Get the property indent |
|
getName ( ) : string |
Get the property name |
|
getType ( ) : string |
Get the property type |
|
getValue ( ) : mixed |
Get the property value |
|
getVisibility ( ) : string |
Get the property visibility |
|
isStatic ( ) : boolean |
Get the property static flag |
|
render ( boolean $ret = false ) : mixed |
Render property |
|
setDesc ( string $desc = null ) : PropertyGenerator |
Set the property description |
|
setDocblock ( DocblockGenerator $docblock ) : PropertyGenerator |
Set the docblock generator object |
|
setIndent ( string $indent = null ) : PropertyGenerator |
Set the property indent |
|
setName ( string $name ) : PropertyGenerator |
Set the property name |
|
setStatic ( boolean $static = false ) : PropertyGenerator |
Set the property static flag |
|
setType ( string $type ) : PropertyGenerator |
Set the property type |
|
setValue ( mixed $value = null ) : PropertyGenerator |
Set the property value |
|
setVisibility ( string $visibility = 'public' ) : PropertyGenerator |
Set the property visibility |
|