Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
26 | 522 | public function process(ContainerBuilder $container) |
|
27 | { |
||
28 | 522 | $controlManagerRenderer = $container->getDefinition('ivory.google_map.helper.renderer.control.manager'); |
|
29 | |||
30 | 522 | foreach ($container->findTaggedServiceIds('ivory.google_map.helper.renderer.control') as $id => $attributes) { |
|
31 | 522 | $controlManagerRenderer->addMethodCall('addRenderer', [new Reference($id)]); |
|
32 | 406 | } |
|
33 | 522 | } |
|
34 | } |
||
35 |