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