W3cubDocs

/Symfony 4.1

ApplicationDescription

class ApplicationDescription

Constants

GLOBAL_NAMESPACE

Methods

__construct(Application $application, string $namespace = null, bool $showHidden = false)
array getNamespaces()
Command[] getCommands()
Command getCommand(string $name)

Details

__construct(Application $application, string $namespace = null, bool $showHidden = false)

Parameters

Application $application
string $namespace
bool $showHidden

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.
https://api.symfony.com/4.1/Symfony/Component/Console/Descriptor/ApplicationDescription.html