| 1 | <?php |
||
| 8 | class LaminasLocator implements HandlerLocator |
||
| 9 | { |
||
| 10 | /** @var array */ |
||
| 11 | protected $handlerMap; |
||
| 12 | |||
| 13 | private $container; |
||
| 14 | |||
| 15 | 5 | public function __construct(ContainerInterface $container) |
|
| 19 | |||
| 20 | /** |
||
| 21 | * Retrieves the handler for a specified command |
||
| 22 | * |
||
| 23 | * @param string $commandName |
||
| 24 | * |
||
| 25 | * @return mixed |
||
| 26 | * |
||
| 27 | * @throws MissingHandlerException |
||
| 28 | */ |
||
| 29 | 4 | public function getHandlerForCommand($commandName) |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @param string $commandName |
||
| 50 | * @return bool |
||
| 51 | */ |
||
| 52 | 4 | protected function commandExists($commandName) |
|
| 60 | } |
||
| 61 |