Свойство | Type | Description | |
---|---|---|---|
$config | array | ||
$controllerName | null | string | ||
$entityClass | string | ||
$entityModule | string | ||
$paramModule | string |
Méthode | Description | |
---|---|---|
__construct ( null | string $controllerName, null | string $paramModule, null | string $entityModule, null | string $entityClass, array $config = [] ) | ||
build ( string $className, string $moduleName ) | Build the class |
Méthode | Description | |
---|---|---|
addClassDocBlock ( string $controllerName, string $moduleName ) | Add a class doc block | |
addCreateControllerAction ( $repositoryClass, $formClass ) | Add indexAction() method for CreateController | |
addDeleteControllerAction ( $repositoryClass, $formClass ) | Add indexAction() method for DeleteController | |
addFormProperty ( $formClass ) | Add form property | |
addFormSetter ( $formClass ) | Add form setter | |
addIndexControllerAction ( $repositoryClass ) | Add indexAction() method for IndexController | |
addRepositoryProperty ( $repositoryClass ) | Add repository property | |
addRepositorySetter ( $repositoryClass ) | Add repository setter | |
addShowControllerAction ( $repositoryClass ) | Add indexAction() method for ShowController | |
addUpdateControllerAction ( $repositoryClass, $formClass ) | Add indexAction() method for UpdateController |
protected addClassDocBlock ( string $controllerName, string $moduleName ) | ||
$controllerName | string | |
$moduleName | string |
protected addCreateControllerAction ( $repositoryClass, $formClass ) | ||
$repositoryClass | ||
$formClass |
protected addDeleteControllerAction ( $repositoryClass, $formClass ) | ||
$repositoryClass | ||
$formClass |
protected addFormProperty ( $formClass ) | ||
$formClass |
protected addIndexControllerAction ( $repositoryClass ) | ||
$repositoryClass |
protected addRepositoryProperty ( $repositoryClass ) | ||
$repositoryClass |
protected addRepositorySetter ( $repositoryClass ) | ||
$repositoryClass |
protected addShowControllerAction ( $repositoryClass ) | ||
$repositoryClass |
protected addUpdateControllerAction ( $repositoryClass, $formClass ) | ||
$repositoryClass | ||
$formClass |