CodeGenerator
class CodeGenerator
Code generator
Generates code for any generateable model
Constants
| SORT_USESTATEMENTS_DEFAULT |
|
| SORT_CONSTANTS_DEFAULT |
|
| SORT_PROPERTIES_DEFAULT |
|
| SORT_METHODS_DEFAULT |
|
Methods
Details
at line line 34
__construct(CodeGeneratorConfig|array $config = null)
at line line 54
CodeGeneratorConfig
getConfig()
Returns the used configuration
at line line 64
string
generate(GenerateableInterface $model)
Generates code from a given model