Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | class LoggerFactory implements FactoryInterface |
||
17 | { |
||
18 | /** |
||
19 | * Create an object |
||
20 | * |
||
21 | * @param ContainerInterface $container |
||
22 | * @param string $requestedName |
||
23 | * @param null|array $options |
||
24 | * @return object |
||
25 | * @throws ServiceNotFoundException if unable to resolve the service. |
||
26 | * @throws ServiceNotCreatedException if an exception is raised when |
||
27 | * creating a service. |
||
28 | * @throws ContainerException if any other error occurs |
||
29 | */ |
||
30 | 3 | public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) |
|
45 |