| 1 | <?php |
||
| 11 | class LoggerFactory implements FactoryInterface |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Create an object |
||
| 15 | * |
||
| 16 | * @param ContainerInterface $container |
||
| 17 | * @param string $requestedName |
||
| 18 | * @param null|array $options |
||
| 19 | * @return object |
||
| 20 | * @throws ServiceNotFoundException if unable to resolve the service. |
||
| 21 | * @throws ServiceNotCreatedException if an exception is raised when |
||
| 22 | * creating a service. |
||
| 23 | * @throws ContainerException if any other error occurs |
||
| 24 | */ |
||
| 25 | 3 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
|
| 39 | } |
||
| 40 |