\Symfony\Component\Console\DescriptorApplicationDescription

Summary

Methods
Properties
Constants
__construct()
getNamespaces()
getCommands()
getCommand()
No public properties found
GLOBAL_NAMESPACE
No protected methods found
No protected properties found
N/A
inspectApplication()
sortCommands()
$application
$namespace
$showHidden
$namespaces
$commands
$aliases
N/A

Constants

GLOBAL_NAMESPACE

GLOBAL_NAMESPACE = '_global'

Properties

$application

$application : 

Type

$namespace

$namespace : 

Type

$showHidden

$showHidden : 

Type

$namespaces

$namespaces : array

Type

array

Methods

__construct()

__construct(\Symfony\Component\Console\Application  $application, \Symfony\Component\Console\Descriptor\string  $namespace = null, \Symfony\Component\Console\Descriptor\bool  $showHidden = false) 

Parameters

\Symfony\Component\Console\Application $application
\Symfony\Component\Console\Descriptor\string $namespace
\Symfony\Component\Console\Descriptor\bool $showHidden

getNamespaces()

getNamespaces() : array

Returns

array

getCommand()

getCommand(string  $name) : \Symfony\Component\Console\Command\Command

Parameters

string $name

Throws

\Symfony\Component\Console\Exception\CommandNotFoundException

Returns

\Symfony\Component\Console\Command\Command

inspectApplication()

inspectApplication() 

sortCommands()

sortCommands(array  $commands) 

Parameters

array $commands