createClass()
createClass(mixed $class, string $name = null) : \Pop\Code\Generator\ClassGenerator
Create class
Parameters
| mixed | $class | |
| string | $name |
Reflection code class
createClass(mixed $class, string $name = null) : \Pop\Code\Generator\ClassGenerator
Create class
| mixed | $class | |
| string | $name |
createTrait(mixed $trait, string $name = null) : \Pop\Code\Generator\TraitGenerator
Create trait
| mixed | $trait | |
| string | $name |
createInterface(mixed $interface, string $name = null) : \Pop\Code\Generator\InterfaceGenerator
Create interface
| mixed | $interface | |
| string | $name |
createNamespace(mixed $namespace, string $name = null) : \Pop\Code\Generator\NamespaceGenerator
Create namespace
| mixed | $namespace | |
| string | $name |
createDocblock(mixed $docblock, integer $forceIndent = null) : \Pop\Code\Generator\DocblockGenerator
Create docblock
| mixed | $docblock | |
| integer | $forceIndent |
createFunction(mixed $function, string $name = null) : \Pop\Code\Generator\FunctionGenerator
Create function
| mixed | $function | |
| string | $name |
createMethod(mixed $method, string $name = null) : \Pop\Code\Generator\MethodGenerator
Create method
| mixed | $method | |
| string | $name |
createProperty(mixed $property, string $name = null, mixed $value = null) : \Pop\Code\Generator\PropertyGenerator
Create property
| mixed | $property | |
| string | $name | |
| mixed | $value |