$docblock
$docblock : \Pop\Code\Generator\DocblockGenerator
Docblock generator object
Class generator code class
$docblock : \Pop\Code\Generator\DocblockGenerator
Docblock generator object
$namespace : \Pop\Code\Generator\NamespaceGenerator
Namespace generator object
setAbstract(boolean $abstract = false) : \Pop\Code\Generator\ClassGenerator
Set the class abstract flag
boolean | $abstract |
setIndent(string $indent = null) : \Pop\Code\Generator\ClassGenerator
Set the class indent
string | $indent |
setName(string $name) : \Pop\Code\Generator\ClassGenerator
Set the class name
string | $name |
setParent(string $parent = null) : \Pop\Code\Generator\ClassGenerator
Set the class parent
string | $parent |
setInterface(string $interface = null) : \Pop\Code\Generator\ClassGenerator
Set the class interface
string | $interface |
setNamespace(\Pop\Code\Generator\NamespaceGenerator $namespace) : \Pop\Code\Generator\ClassGenerator
Set the namespace generator object
\Pop\Code\Generator\NamespaceGenerator | $namespace |
getNamespace() : \Pop\Code\Generator\NamespaceGenerator
Access the namespace generator object
setDocblock(\Pop\Code\Generator\DocblockGenerator $docblock) : \Pop\Code\Generator\ClassGenerator
Set the docblock generator object
\Pop\Code\Generator\DocblockGenerator | $docblock |
getDocblock() : \Pop\Code\Generator\DocblockGenerator
Access the docblock generator object
addProperty(\Pop\Code\Generator\PropertyGenerator $property) : \Pop\Code\Generator\ClassGenerator
Add a class property
\Pop\Code\Generator\PropertyGenerator | $property |
getProperty(mixed $property) : \Pop\Code\Generator\PropertyGenerator
Get a class property
mixed | $property |
removeProperty(mixed $property) : \Pop\Code\Generator\ClassGenerator
Remove a class property
mixed | $property |
addMethod(\Pop\Code\Generator\MethodGenerator $method) : \Pop\Code\Generator\ClassGenerator
Add a class method
\Pop\Code\Generator\MethodGenerator | $method |
getMethod(mixed $method) : \Pop\Code\Generator\MethodGenerator
Get a method property
mixed | $method |
removeMethod(mixed $method) : \Pop\Code\Generator\ClassGenerator
Remove a method property
mixed | $method |