Свойство | Тип | Описание | |
---|---|---|---|
$commandIdentifier | string | ||
$commandMethodReflection | |||
$controllerClassName | string | ||
$controllerCommandName | string | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$reflectionService |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
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 |
||
Результат | array |
public getCommandIdentifier ( ) : string | ||
Результат | string | The command identifier for this command, following the pattern packagekey:controllername:commandname |
protected getCommandMethodReflection ( ) : |
||
Результат |
public getControllerClassName ( ) : string | ||
Результат | string |
public getControllerCommandName ( ) : string | ||
Результат | string |
public getDescription ( ) : string | ||
Результат | string | A longer description of this command |
public getRelatedCommandIdentifiers ( ) : array | ||
Результат | array |
public getShortDescription ( ) : string | ||
Результат | string | A short description |
public hasArguments ( ) : boolean | ||
Результат | boolean |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface |
public injectReflectionService ( |
||
$reflectionService | Reflection service |
public isDeprecated ( ) : boolean | ||
Результат | boolean |
public isFlushingCaches ( ) : boolean | ||
Результат | boolean |
public isInternal ( ) : boolean | ||
Результат | boolean |
protected MethodReflection,Neos\Flow\Reflection $commandMethodReflection | ||
Результат |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
Результат | Neos\Flow\ObjectManagement\ObjectManagerInterface |