Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function process(ContainerBuilder $container) |
||
18 | { |
||
19 | $definition = $container->findDefinition(CallableGenerator::class); |
||
20 | |||
21 | $taggedServices = $container->findTaggedServiceIds('actiane.entitychangewatch.callback'); |
||
22 | |||
23 | foreach ($taggedServices as $id => $tags) { |
||
24 | $definition->addMethodCall('addCallback', [$id, new Reference($id)]); |
||
25 | } |
||
28 |