| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | 9 | public function process(ContainerBuilder $container) |
|
| 21 | { |
||
| 22 | 9 | $factory = $container->getDefinition(ConnectionDriverFactory::class); |
|
| 23 | |||
| 24 | 9 | foreach ($container->findTaggedServiceIds(self::CONFIGURATOR_TAG_NAME) as $serviceId => $tag) { |
|
| 25 | 9 | $factory->addMethodCall('registerConfigurator', [new Reference($serviceId)]); |
|
| 26 | } |
||
| 29 |