Property | Type | Description | |
---|---|---|---|
$commandIdentifier | string | ||
$commandMethodReflection | |||
$controllerClassName | string | ||
$controllerCommandName | string | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$reflectionService |
Method | Description | |
---|---|---|
__construct ( string $controllerClassName, string $controllerCommandName ) | Constructor | |
getArgumentDefinitions ( ) : array |
Returns an array of CommandArgumentDefinition that contains information about required/optional arguments of this command. | |
getCommandIdentifier ( ) : string | Returns the command identifier for this command | |
getControllerClassName ( ) : string | ||
getControllerCommandName ( ) : string | ||
getDescription ( ) : string | Returns a longer description of this command This is the complete method description except for the first line which can be retrieved via getShortDescription() If The command description only consists of one line, an empty string is returned | |
getRelatedCommandIdentifiers ( ) : array | Returns an array of command identifiers which were specified in the "@see" annotation of a command method. | |
getShortDescription ( ) : string | Returns a short description of this command | |
hasArguments ( ) : boolean | Returns TRUE if this command expects required and/or optional arguments, otherwise FALSE | |
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) | ||
injectReflectionService ( |
||
isDeprecated ( ) : boolean | Tells if this command is deprecated and thus should be marked as such in help texts, user documentation etc. | |
isFlushingCaches ( ) : boolean | Tells if this command flushes all caches and thus needs special attention in the interactive shell. | |
isInternal ( ) : boolean | Tells if this command is internal and thus should not be exposed through help texts, user documentation etc. |
Method | Description | |
---|---|---|
getCommandMethodReflection ( ) : |
public __construct ( string $controllerClassName, string $controllerCommandName ) | ||
$controllerClassName | string | Class name of the controller providing the command |
$controllerCommandName | string | Command name, i.e. the method name of the command, without the "Command" suffix |
public getArgumentDefinitions ( ) : array |
||
return | array |
public getCommandIdentifier ( ) : string | ||
return | string | The command identifier for this command, following the pattern packagekey:controllername:commandname |
protected getCommandMethodReflection ( ) : |
||
return |
public getDescription ( ) : string | ||
return | string | A longer description of this command |
public getRelatedCommandIdentifiers ( ) : array | ||
return | array |
public getShortDescription ( ) : string | ||
return | string | A short description |
public hasArguments ( ) : boolean | ||
return | boolean |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface |
public injectReflectionService ( |
||
$reflectionService | Reflection service |
public isDeprecated ( ) : boolean | ||
return | boolean |
public isFlushingCaches ( ) : boolean | ||
return | boolean |
public isInternal ( ) : boolean | ||
return | boolean |
protected MethodReflection,Neos\Flow\Reflection $commandMethodReflection | ||
return |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
return | Neos\Flow\ObjectManagement\ObjectManagerInterface |