1 | <?php |
||
14 | class HandlerFactory extends AbstractFactory |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * {@inheritDoc} |
||
19 | */ |
||
20 | 32 | protected function create(ContainerInterface $container, $config) |
|
27 | |||
28 | /** |
||
29 | * {@inheritDoc} |
||
30 | */ |
||
31 | 33 | public function getServiceType() |
|
35 | |||
36 | /** |
||
37 | * @param ContainerInterface2 $container |
||
38 | * @param array|ArrayObject|ZendArrayObject $handlerConfig |
||
39 | * @param string $paramKey |
||
40 | * @param string $factoryKey |
||
41 | * @return array |
||
42 | */ |
||
43 | 32 | private function getHandlerParams(ContainerInterface $container, $handlerConfig, $paramKey, $factoryKey) |
|
54 | |||
55 | /** |
||
56 | * @param ContainerInterface $container |
||
57 | * @param array $handlerParams |
||
58 | * @param string $factoryKey |
||
59 | * @return array |
||
60 | */ |
||
61 | 31 | private function createFactoryInConfig(ContainerInterface $container, $handlerParams, $factoryKey) |
|
73 | |||
74 | /** |
||
75 | * @param array $handlerParams |
||
76 | * @param string $factoryKey |
||
77 | * @return bool |
||
78 | */ |
||
79 | 31 | private function hasHandlerFactoryOption($handlerParams, $factoryKey) |
|
83 | } |
||
84 |