Свойство | Type | Description | |
---|---|---|---|
$config | array | ||
$entityClass | string | ||
$entityModule | string | ||
$loadedTables | array | ||
$paramModule | string |
Méthode | Description | |
---|---|---|
__construct ( null | string $paramModule, null | string $entityModule, $entityClass, array $loadedTables = [], array $config = [] ) | ||
build ( string $className, string $moduleName ) | Build the class |
Méthode | Description | |
---|---|---|
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 | |
filterUnderscoreToCamelCase ( string $text ) : string | Filter underscore to camel case |
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 | |
Résultat | string |
protected filterUnderscoreToCamelCase ( string $text ) : string | ||
$text | string | |
Résultat | string |