interface CommandLoaderInterface
Command | get(string $name) Loads a command. | |
bool | has(string $name) Checks if a command exists. | |
string[] | getNames() |
Loads a command.
string | $name |
Command |
CommandNotFoundException |
Checks if a command exists.
string | $name |
bool |
string[] | All registered command names |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Console/CommandLoader/CommandLoaderInterface.html