interface CommandLoaderInterface
@author Robin Chalas <robin.chalas@gmail.com>
Hierarchy
- interface \Symfony\Component\Console\CommandLoader\CommandLoaderInterface
Expanded class hierarchy of CommandLoaderInterface
All classes that implement CommandLoaderInterface
1 file declares its use of CommandLoaderInterface
- Application.php in vendor/
symfony/ console/ Application.php
File
-
vendor/
symfony/ console/ CommandLoader/ CommandLoaderInterface.php, line 20
Namespace
Symfony\Component\Console\CommandLoaderView source
interface CommandLoaderInterface {
/**
* Loads a command.
*
* @throws CommandNotFoundException
*/
public function get(string $name) : Command;
/**
* Checks if a command exists.
*/
public function has(string $name) : bool;
/**
* @return string[]
*/
public function getNames() : array;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
CommandLoaderInterface::get | public | function | Loads a command. | 2 |
CommandLoaderInterface::getNames | public | function | 2 | |
CommandLoaderInterface::has | public | function | Checks if a command exists. | 2 |