class Commander (View source)

Constants

GLOBAL_NAMESPACE

Methods

__construct(Kernel $kernel)

No description

getKernel()

No description

getNamespace()

No description

getNamespaces()

No description

getCommands()

No description

getAliases()

No description

getDefinition()

No description

extractNamespace(string $name, int $limit = null)

No description

array
sortCommands(array $commands)

No description

loadNamespacesAndCommands()

No description

loadApplicationDefinition()

No description

array
getInputArgumentData(InputArgument $argument)

No description

array
getInputOptionData(InputOption $option)

No description

array
getInputDefinitionData(InputDefinition $definition)

No description

array
getInputDefinitionArguments(InputDefinition $definition)

No description

array
getInputDefinitionOptions(InputDefinition $definition)

No description

array
getCommandData(Command $command)

No description

Details

__construct(Kernel $kernel)

Parameters

Kernel $kernel

getKernel()

getNamespace()

getNamespaces()

getCommands()

getAliases()

getDefinition()

protected extractNamespace(string $name, int $limit = null)

Parameters

string $name
int $limit

protected array sortCommands(array $commands)

Parameters

array $commands

Return Value

array

loadNamespacesAndCommands()

See also

ApplicationDescription::inspectApplication

protected loadApplicationDefinition()

protected array getInputArgumentData(InputArgument $argument)

Parameters

InputArgument $argument

Return Value

array

protected array getInputOptionData(InputOption $option)

Parameters

InputOption $option

Return Value

array

protected array getInputDefinitionData(InputDefinition $definition)

Parameters

InputDefinition $definition

Return Value

array

protected array getInputDefinitionArguments(InputDefinition $definition)

Parameters

InputDefinition $definition

Return Value

array

protected array getInputDefinitionOptions(InputDefinition $definition)

Parameters

InputDefinition $definition

Return Value

array

protected array getCommandData(Command $command)

Parameters

Command $command

Return Value

array