1 | <?php |
||
15 | class AbstractServiceFactory implements AbstractFactoryInterface |
||
|
|||
16 | { |
||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $configKey = 'facile'; |
||
21 | |||
22 | /** |
||
23 | * @param ServiceLocatorInterface $services |
||
24 | * @param string $name |
||
25 | * @param string $requestedName |
||
26 | * @return bool |
||
27 | * @throws \Interop\Container\Exception\NotFoundException |
||
28 | * @throws \Interop\Container\Exception\ContainerException |
||
29 | */ |
||
30 | 4 | public function canCreateServiceWithName(ServiceLocatorInterface $services, $name, $requestedName) |
|
34 | |||
35 | /** |
||
36 | * @param ContainerInterface $container |
||
37 | * @param string $requestedName |
||
38 | * @return bool |
||
39 | * @throws \Interop\Container\Exception\NotFoundException |
||
40 | * @throws \Interop\Container\Exception\ContainerException |
||
41 | */ |
||
42 | 4 | public function canCreate(ContainerInterface $container, $requestedName) |
|
46 | |||
47 | /** |
||
48 | * @param ContainerInterface $container |
||
49 | * @param string $name |
||
50 | * |
||
51 | * @return array |
||
52 | * @throws \Interop\Container\Exception\NotFoundException |
||
53 | * @throws \Interop\Container\Exception\ContainerException |
||
54 | */ |
||
55 | 6 | private function getFactoryMapping(ContainerInterface $container, $name) |
|
82 | |||
83 | /** |
||
84 | * @param ContainerInterface $container |
||
85 | * @param string $requestedName |
||
86 | * @param array|null $options |
||
87 | * @return mixed |
||
88 | * @throws \Interop\Container\Exception\NotFoundException |
||
89 | * @throws \Interop\Container\Exception\ContainerException |
||
90 | * @throws ServiceNotFoundException |
||
91 | */ |
||
92 | 2 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
|
106 | |||
107 | /** |
||
108 | * @param ServiceLocatorInterface $services |
||
109 | * @param string $name |
||
110 | * @param string $requestedName |
||
111 | * @return mixed |
||
112 | */ |
||
113 | 2 | public function createServiceWithName(ServiceLocatorInterface $services, $name, $requestedName) |
|
117 | } |
||
118 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.