Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function __invoke( |
||
15 | ContainerInterface $container, |
||
16 | string $contextName = ConfigProvider::DEFAULT_CONTEXT |
||
17 | ): StartQueueConsumer { |
||
18 | return new StartQueueConsumer( |
||
19 | $container->get(QueueConsumerInterface::class), |
||
20 | $container->get($contextName . '.action.container') |
||
21 | ); |
||
24 |