1 | <?php |
||
9 | class ZendLocator implements HandlerLocator |
||
10 | { |
||
11 | /** @var array */ |
||
12 | protected $handlerMap; |
||
13 | |||
14 | private $serviceLocator; |
||
15 | |||
16 | public function __construct(ServiceLocatorInterface $serviceLocator) |
||
20 | |||
21 | /** |
||
22 | * Retrieves the handler for a specified command |
||
23 | * |
||
24 | * @param string $commandName |
||
25 | * |
||
26 | 4 | * @return mixed |
|
27 | * |
||
28 | 4 | * @throws MissingHandlerException |
|
29 | 1 | */ |
|
30 | public function getHandlerForCommand($commandName) |
||
51 | |||
52 | 4 | /** |
|
53 | * @param string $commandName |
||
54 | 4 | * @return bool |
|
55 | 4 | */ |
|
56 | 4 | protected function commandExists($commandName) |
|
64 | } |
||
65 |