| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function process(ContainerBuilder $container) |
||
| 15 | { |
||
| 16 | $clientDefinition = $container->getDefinition('vmpro_api.client'); |
||
| 17 | |||
| 18 | $logger = $this->getServiceReference($container, $container->getParameter('vm_pro_api_logger')); |
||
| 19 | $cachePool = $this->getServiceReference($container, $container->getParameter('vm_pro_api_cache_pool')); |
||
| 20 | $cacheTtl = $container->getParameter('vm_pro_api_cache_ttl'); |
||
| 21 | |||
| 22 | $clientDefinition->setArgument(2, $logger); |
||
| 23 | $clientDefinition->setArgument(3, $cachePool); |
||
| 24 | $clientDefinition->setArgument(4, $cacheTtl); |
||
| 25 | } |
||
| 26 | |||
| 43 |