Свойство | Тип | Описание | |
---|---|---|---|
$config | array | ||
$entityClass | string | ||
$entityModule | string | ||
$loadedTables | array | ||
$paramModule | string |
Метод | Описание | |
---|---|---|
__construct ( null | string $paramModule, null | string $entityModule, string $entityClass, array $loadedTables = [], array $config = [] ) | ||
build ( string $className, string $moduleName ) | Build the class |
Метод | Описание | |
---|---|---|
addClassDocBlock ( string $className, string $moduleName ) | Add a class doc block | |
addInitMethod ( $className, $moduleName ) | Generate an init method | |
addOptionsProperty ( string $columnName ) | ||
addOptionsSetter ( string $columnName ) | ||
filterCamelCaseToUnderscore ( string $text ) : string | Filter camel case to underscore |
protected addClassDocBlock ( string $className, string $moduleName ) | ||
$className | string | |
$moduleName | string |
protected addInitMethod ( $className, $moduleName ) | ||
$className | ||
$moduleName |
protected addOptionsProperty ( string $columnName ) | ||
$columnName | string |
protected addOptionsSetter ( string $columnName ) | ||
$columnName | string |
protected filterCamelCaseToUnderscore ( string $text ) : string | ||
$text | string | |
Результат | string |