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