Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
24 | public function process(ContainerBuilder $container) |
||
25 | { |
||
26 | $rpcHandler = $container->getDefinition('cmobi_rabbitmq.rpc.handler'); |
||
27 | $definition = new Definition( |
||
28 | $this->serviceClass, |
||
29 | [ |
||
30 | 'handler' => $rpcHandler, |
||
31 | 'queueOptions' => $this->params, |
||
32 | 'parameters' => $this->queueOptions |
||
33 | ] |
||
34 | ); |
||
35 | $container->setDefinition($this->serviceName, $definition); |
||
36 | } |
||
37 | } |