1 | <?php |
||
19 | class ClonerAbstractFactory implements AbstractFactoryInterface |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * @var array|null |
||
24 | */ |
||
25 | private $clonersConfig; |
||
26 | |||
27 | /** |
||
28 | * @param ServiceLocatorInterface $serviceLocator |
||
29 | * @param $name |
||
30 | * @param $requestedName |
||
31 | * |
||
32 | * @return bool |
||
33 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
34 | * @throws \Assert\AssertionFailedException |
||
35 | */ |
||
36 | public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
||
53 | |||
54 | /** |
||
55 | * @param ServiceLocatorInterface $serviceLocator |
||
56 | * @param $name |
||
57 | * @param $requestedName |
||
58 | * |
||
59 | * @return mixed |
||
60 | * @throws \Assert\AssertionFailedException |
||
61 | */ |
||
62 | public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName) |
||
75 | |||
76 | /** |
||
77 | * @param ServiceLocatorInterface $serviceManager |
||
78 | * |
||
79 | * @return array |
||
80 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
||
81 | * @throws \Assert\AssertionFailedException |
||
82 | */ |
||
83 | private function getClonersConfig(ServiceLocatorInterface $serviceManager) |
||
95 | |||
96 | } |