ApplicationDescription

class ApplicationDescription

Constants

GLOBAL_NAMESPACE

Methods

__construct(Application $application, string|null $namespace = null)

Constructor.

array getNamespaces()
Command[] getCommands()
Command getCommand(string $name)

Details

__construct(Application $application, string|null $namespace = null)

Constructor.

Parameters

Application $application
string|null $namespace

array getNamespaces()

Return Value

array

Command[] getCommands()

Return Value

Command[]

Command getCommand(string $name)

Parameters

string $name

Return Value

Command

Exceptions

CommandNotFoundException

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/Console/Descriptor/ApplicationDescription.html