| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function process(ContainerBuilder $container): void |
||
| 19 | { |
||
| 20 | if (!$container->hasDefinition(self::COLLECTOR_SVC_ID)) { |
||
| 21 | return; |
||
| 22 | } |
||
| 23 | |||
| 24 | $collector = $container->findDefinition(self::COLLECTOR_SVC_ID); |
||
| 25 | $mappersDefinitions = $container->findTaggedServiceIds(self::MAPPER_TAG); |
||
| 26 | $mappers = $this->collectMappers($mappersDefinitions); |
||
| 27 | |||
| 28 | $collector->replaceArgument(0, $mappers); |
||
| 29 | } |
||
| 30 | |||
| 49 |