Property | Type | Description | |
---|---|---|---|
$generatorService | |||
$packageManager | Neos\Flow\Package\PackageManagerInterface |
Method | Description | |
---|---|---|
actionControllerCommand ( string $packageKey, string $controllerName, boolean $generateActions = false, boolean $generateTemplates = true, boolean $generateRelated = false, boolean $force = false ) : string | Kickstart a new action controller | |
commandControllerCommand ( string $packageKey, string $controllerName, boolean $force = false ) : string | Kickstart a new command controller | |
documentationCommand ( string $packageKey ) : string | Kickstart documentation | |
modelCommand ( string $packageKey, string $modelName, boolean $force = false ) : string | Kickstart a new domain model | |
packageCommand ( string $packageKey ) : string | Kickstart a new package | |
repositoryCommand ( string $packageKey, string $modelName, boolean $force = false ) : string | Kickstart a new domain repository |
Method | Description | |
---|---|---|
validateModelName ( string $modelName ) : boolean | Check the given model name to be not one of the reserved words of PHP. | |
validatePackageKey ( string $packageKey ) : void | Checks the syntax of the given $packageKey and quits with an error message if it's not valid |
public actionControllerCommand ( string $packageKey, string $controllerName, boolean $generateActions = false, boolean $generateTemplates = true, boolean $generateRelated = false, boolean $force = false ) : string | ||
$packageKey | string | The package key of the package for the new controller with an optional subpackage, (e.g. "MyCompany.MyPackage/Admin"). |
$controllerName | string | The name for the new controller. This may also be a comma separated list of controller names. |
$generateActions | boolean | Also generate index, show, new, create, edit, update and delete actions. |
$generateTemplates | boolean | Also generate the templates for each action. |
$generateRelated | boolean | Also create the mentioned package, related model and repository if neccessary. |
$force | boolean | Overwrite any existing controller or template code. Regardless of this flag, the package, model and repository will never be overwritten. |
return | string |
public commandControllerCommand ( string $packageKey, string $controllerName, boolean $force = false ) : string | ||
$packageKey | string | The package key of the package for the new controller |
$controllerName | string | The name for the new controller. This may also be a comma separated list of controller names. |
$force | boolean | Overwrite any existing controller. |
return | string |
public documentationCommand ( string $packageKey ) : string | ||
$packageKey | string | The package key of the package for the documentation |
return | string |
public packageCommand ( string $packageKey ) : string | ||
$packageKey | string | The package key, for example "MyCompany.MyPackageName" |
return | string |
protected validateModelName ( string $modelName ) : boolean | ||
$modelName | string | |
return | boolean |
protected validatePackageKey ( string $packageKey ) : void | ||
$packageKey | string | |
return | void |
protected GeneratorService,Neos\Kickstarter\Service $generatorService | ||
return |