Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | 1 | public function process(ContainerBuilder $container) |
|
13 | { |
||
14 | 1 | $definition = $container->findDefinition(RouteAutoloader::class); |
|
15 | |||
16 | 1 | foreach ($container->findTaggedServiceIds('obblm.routes') as $id => $tags) { |
|
17 | 1 | $definition->addMethodCall('addObblmRoute', [new Reference($id)]); |
|
18 | } |
||
21 |