PHP 클래스 Neos\Flow\Cli\Command

파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$commandIdentifier string
$commandMethodReflection Neos\Flow\Reflection\MethodReflection
$controllerClassName string
$controllerCommandName string
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$reflectionService Neos\Flow\Reflection\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 ( ReflectionService $reflectionService )
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 ( ) : MethodReflection

메소드 상세

__construct() 공개 메소드

Constructor
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

getArgumentDefinitions() 공개 메소드

If the command does not expect any arguments, an empty array is returned
public getArgumentDefinitions ( ) : array
리턴 array

getCommandIdentifier() 공개 메소드

Returns the command identifier for this command
public getCommandIdentifier ( ) : string
리턴 string The command identifier for this command, following the pattern packagekey:controllername:commandname

getCommandMethodReflection() 보호된 메소드

protected getCommandMethodReflection ( ) : MethodReflection
리턴 Neos\Flow\Reflection\MethodReflection

getControllerClassName() 공개 메소드

public getControllerClassName ( ) : string
리턴 string

getControllerCommandName() 공개 메소드

public getControllerCommandName ( ) : string
리턴 string

getDescription() 공개 메소드

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
public getDescription ( ) : string
리턴 string A longer description of this command

getRelatedCommandIdentifiers() 공개 메소드

Returns an array of command identifiers which were specified in the "@see" annotation of a command method.

getShortDescription() 공개 메소드

Returns a short description of this command
public getShortDescription ( ) : string
리턴 string A short description

hasArguments() 공개 메소드

Returns TRUE if this command expects required and/or optional arguments, otherwise FALSE
public hasArguments ( ) : boolean
리턴 boolean

injectObjectManager() 공개 메소드

public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager )
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface

injectReflectionService() 공개 메소드

public injectReflectionService ( ReflectionService $reflectionService )
$reflectionService Neos\Flow\Reflection\ReflectionService Reflection service

isDeprecated() 공개 메소드

Deprecated commands are still accessible through the regular command line interface, but should not be used by users anymore.
public isDeprecated ( ) : boolean
리턴 boolean

isFlushingCaches() 공개 메소드

Note that neither this method nor the @Flow\FlushesCaches annotation is currently part of the official API.
public isFlushingCaches ( ) : boolean
리턴 boolean

isInternal() 공개 메소드

Internal commands are still accessible through the regular command line interface, but should not be used by users.
public isInternal ( ) : boolean
리턴 boolean

프로퍼티 상세

$commandIdentifier 보호되어 있는 프로퍼티

protected string $commandIdentifier
리턴 string

$commandMethodReflection 보호되어 있는 프로퍼티

protected MethodReflection,Neos\Flow\Reflection $commandMethodReflection
리턴 Neos\Flow\Reflection\MethodReflection

$controllerClassName 보호되어 있는 프로퍼티

protected string $controllerClassName
리턴 string

$controllerCommandName 보호되어 있는 프로퍼티

protected string $controllerCommandName
리턴 string

$objectManager 보호되어 있는 프로퍼티

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
리턴 Neos\Flow\ObjectManagement\ObjectManagerInterface

$reflectionService 보호되어 있는 프로퍼티

protected ReflectionService,Neos\Flow\Reflection $reflectionService
리턴 Neos\Flow\Reflection\ReflectionService