1 | <?php |
||
12 | abstract class AbstractCheckCommandFactory implements FactoryInterface |
||
13 | { |
||
14 | /** |
||
15 | * Create service |
||
16 | * |
||
17 | * @param ServiceLocatorInterface $serviceLocator |
||
18 | * @return CheckCommand |
||
19 | * @throws \UnexpectedValueException |
||
20 | * @throws \Zend\Console\Exception\RuntimeException |
||
21 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
22 | */ |
||
23 | 6 | public function createService(ServiceLocatorInterface $serviceLocator) |
|
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | abstract public function getCommandServiceName(); |
||
45 | } |
||
46 |