Property | Type | Description | |
---|---|---|---|
$config | array | ||
$foreignKeys | array |
Method | Description | |
---|---|---|
__construct ( string $className, string $moduleName, string $entityModule, string $entityClass, array $loadedTables = [], array $config = [] ) |
Method | Description | |
---|---|---|
addClassDocBlock ( string $className ) | Add a class doc block | |
addCreateServiceMethod ( string $className, string $moduleName, string $entityModule, string $entityClass ) | Generate the create service method | |
filterCamelCaseToUnderscore ( string $text ) : string | Filter camel case to underscore | |
filterUnderscoreToCamelCase ( string $text ) : string | Filter camel case to underscore |
protected addClassDocBlock ( string $className ) | ||
$className | string |
protected filterCamelCaseToUnderscore ( string $text ) : string | ||
$text | string | |
return | string |
protected filterUnderscoreToCamelCase ( string $text ) : string | ||
$text | string | |
return | string |