1 | <?php |
||
13 | class HandlerFactory extends AbstractFactory |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * {@inheritDoc} |
||
18 | */ |
||
19 | protected function create(ServiceLocatorInterface $serviceLocator, $config) |
||
26 | |||
27 | /** |
||
28 | * {@inheritDoc} |
||
29 | */ |
||
30 | public function getServiceType() |
||
34 | |||
35 | /** |
||
36 | * @param ServiceLocatorInterface $serviceLocator |
||
37 | * @param array|ArrayObject|ZendArrayObject $handlerConfig |
||
38 | * @param string $paramKey |
||
39 | * @param string $factoryKey |
||
40 | * @return array |
||
41 | */ |
||
42 | private function getHandlerParams(ServiceLocatorInterface $serviceLocator, $handlerConfig, $paramKey, $factoryKey) |
||
53 | |||
54 | /** |
||
55 | * @param string $factoryKey |
||
56 | * @return array |
||
57 | */ |
||
58 | private function createFactoryInConfig(ServiceLocatorInterface $serviceLocator, $handlerParams, $factoryKey) |
||
70 | |||
71 | /** |
||
72 | * @param array $handlerParams |
||
73 | * @param string $factoryKey |
||
74 | * @return bool |
||
75 | */ |
||
76 | private function hasHandlerFactoryOption($handlerParams, $factoryKey) |
||
80 | } |
||
81 |