1 | <?php |
||
23 | class ClonerAbstractFactory implements AbstractFactoryInterface |
||
24 | { |
||
25 | |||
26 | /** |
||
27 | * @var array|null |
||
28 | */ |
||
29 | private $clonersConfig; |
||
30 | |||
31 | /** |
||
32 | * @param ServiceLocatorInterface $serviceLocator |
||
33 | * @param $name |
||
34 | * @param $requestedName |
||
35 | * |
||
36 | * @return bool |
||
37 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
38 | * @throws \Assert\AssertionFailedException |
||
39 | */ |
||
40 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
||
58 | |||
59 | /** |
||
60 | * @param ServiceLocatorInterface $serviceLocator |
||
61 | * @param $name |
||
62 | * @param $requestedName |
||
63 | * |
||
64 | * @return mixed |
||
65 | * @throws \Assert\AssertionFailedException |
||
66 | */ |
||
67 | public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
||
80 | |||
81 | /** |
||
82 | * @param ServiceLocatorInterface $serviceManager |
||
83 | * |
||
84 | * @return array |
||
85 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
86 | * @throws \Assert\AssertionFailedException |
||
87 | */ |
||
88 | private function getClonersConfig(ServiceLocatorInterface $serviceManager) |
||
100 | } |
||
101 |