1 | <?php |
||
21 | class LoaderFactory implements FactoryInterface |
||
22 | { |
||
23 | /** |
||
24 | * Create config loader object. |
||
25 | * |
||
26 | * @param ContainerInterface $container |
||
27 | * @param string $requestedName |
||
28 | * @param null|array $options |
||
29 | * |
||
30 | * @return Loader |
||
31 | * |
||
32 | * @throws ServiceNotFoundException if unable to resolve the service. |
||
33 | * @throws ServiceNotCreatedException if an exception is raised when creating a service. |
||
34 | * @throws ContainerException if any other error occurs. |
||
35 | */ |
||
36 | 2 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
|
43 | } |
||
44 |