| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function process(ContainerBuilder $container) |
||
| 15 | { |
||
| 16 | if (!$container->hasDefinition('ez_migration_bundle.expression_language')) { |
||
| 17 | return; |
||
| 18 | } |
||
| 19 | |||
| 20 | $providers = []; |
||
| 21 | foreach ($container->findTaggedServiceIds('ez_migration_bundle.expression_language.function_provider') as $serviceId => $tags) { |
||
| 22 | $providers[] = new Reference($serviceId); |
||
| 23 | } |
||
| 24 | |||
| 25 | $container |
||
| 26 | ->getDefinition('ez_migration_bundle.expression_language') |
||
| 27 | ->setArguments([null, $providers]); |
||
| 28 | } |
||
| 29 | } |
||
| 30 |