CommandSet
abstract class CommandSet
Class CommandSet
Properties
protected Console | $console | ||
protected CommandDefinition[] | $commandDefinitions |
Methods
getCommandDefinition(string $command)
No description
array
getCommandDefinitions()
No description
getLogger()
No description
bool
hasCommandDefinition(string $name)
No description
registerCommandDefinition(string $name, string $definition)
Registers the command definition by creating a new instance, saves as internal property and return it for further definition.
void
void
setupCommandDefinitions()
Returns an array of CommandDefinitions which describe all available commands of this CommandSet
Details
at line 29
__construct(Console $console)
CommandSet constructor.
at line 67
CommandDefinition
getCommandDefinition(string $command)
No description
at line 87
array
getCommandDefinitions()
No description
at line 119
protected ConsoleLogger
getLogger()
No description
at line 80
bool
hasCommandDefinition(string $name)
No description
at line 100
protected CommandDefinition
registerCommandDefinition(string $name, string $definition)
Registers the command definition by creating a new instance, saves as internal property and return it for further definition.
at line 130
protected XF
requireXF(array $skips = [], array $instantiationClosures = [])
No description
at line 38
abstract void
setupCommandDefinitions()
Returns an array of CommandDefinitions which describe all available commands of this CommandSet