| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function process(ContainerBuilder $container) |
||
| 25 | { |
||
| 26 | if ($container->hasParameter('wb_big_register.cache.service_id')) { |
||
| 27 | $definition = $container->getDefinition('wb_big_register.client'); |
||
| 28 | $definition->replaceArgument(2, new Reference( |
||
| 29 | $container->getParameter('wb_big_register.cache.service_id') |
||
| 30 | )); |
||
| 31 | $definition->replaceArgument(3, $container->getParameter('wb_big_register.cache.ttl')); |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 36 |