Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | 1 | public function process(ContainerBuilder $containerBuilder): void |
|
20 | { |
||
21 | 1 | foreach (array_keys($containerBuilder->findTaggedServiceIds(self::TAG_FACTORY)) as $id) { |
|
22 | $containerBuilder |
||
23 | 1 | ->findDefinition(Aggregate::class) |
|
24 | 1 | ->addMethodCall('addFactory', [new Reference($id)]) |
|
25 | ; |
||
29 |