1 | <?php |
||
5 | class CommandRepository |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var array |
||
10 | */ |
||
11 | protected $commands; |
||
12 | |||
13 | 6 | public function __construct() |
|
22 | |||
23 | /** |
||
24 | * @param $name |
||
25 | * @return \Symfony\Component\Console\Command\Command |
||
26 | */ |
||
27 | 6 | public function getRegisteredCommand($name) |
|
31 | |||
32 | /** |
||
33 | * Return all registered commands |
||
34 | * @return array |
||
35 | */ |
||
36 | public function getRegisteredCommands() |
||
40 | } |
||
41 |