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