PHP 클래스 Neos\Flow\Command\HelpCommandController

상속: extends Neos\Flow\Cli\CommandController
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$applicationName string
$applicationPackageKey string
$bootstrap Neos\Flow\Core\Bootstrap
$packageManager Neos\Flow\Package\PackageManagerInterface

공개 메소드들

메소드 설명
errorCommand ( Neos\Flow\Mvc\Exception\CommandException $exception ) : void Displays an error message
helpCommand ( string $commandIdentifier = null ) : void Display help for a command
helpStubCommand ( ) : void Displays a short, general help message

보호된 메소드들

메소드 설명
buildCommandsIndex ( array $commands ) : array Builds an index of available commands. For each of them a Command object is added to the commands array of this class.
displayHelpForCommand ( Command $command ) : void Render help text for a single command
displayHelpIndex ( ) : void
displayShortHelpForCommands ( array $commands ) : void

메소드 상세

buildCommandsIndex() 보호된 메소드

Builds an index of available commands. For each of them a Command object is added to the commands array of this class.
protected buildCommandsIndex ( array $commands ) : array
$commands array
리턴 array in the format array('' => array('', array('' => $command1, '' => $command2)))

displayHelpForCommand() 보호된 메소드

Render help text for a single command
protected displayHelpForCommand ( Command $command ) : void
$command Neos\Flow\Cli\Command
리턴 void

displayHelpIndex() 보호된 메소드

protected displayHelpIndex ( ) : void
리턴 void

displayShortHelpForCommands() 보호된 메소드

protected displayShortHelpForCommands ( array $commands ) : void
$commands array
리턴 void

errorCommand() 공개 메소드

Displays an error message
public errorCommand ( Neos\Flow\Mvc\Exception\CommandException $exception ) : void
$exception Neos\Flow\Mvc\Exception\CommandException
리턴 void

helpCommand() 공개 메소드

The help command displays help for a given command: ./flow help
public helpCommand ( string $commandIdentifier = null ) : void
$commandIdentifier string Identifier of a command for more details
리턴 void

helpStubCommand() 공개 메소드

This only outputs the Flow version number, context and some hint about how to get more help about commands.
public helpStubCommand ( ) : void
리턴 void

프로퍼티 상세

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

protected string $applicationName
리턴 string

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

protected string $applicationPackageKey
리턴 string

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

protected Bootstrap,Neos\Flow\Core $bootstrap
리턴 Neos\Flow\Core\Bootstrap

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

protected PackageManagerInterface,Neos\Flow\Package $packageManager
리턴 Neos\Flow\Package\PackageManagerInterface