| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | 3 | public function process(ContainerBuilder $container) |
|
| 30 | { |
||
| 31 | 3 | $serviceIds = array_keys($container->findTaggedServiceIds('cache.provider')); |
|
| 32 | 3 | foreach ($serviceIds as $serviceId) { |
|
| 33 | 3 | $definition = $container->getDefinition($serviceId); |
|
| 34 | 3 | $container->setAlias($definition->getClass(), $serviceId); |
|
| 35 | } |
||
| 36 | 3 | } |
|
| 37 | } |
||
| 38 |