| Conditions | 3 |
| Paths | 3 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function process(ContainerBuilder $container) |
||
| 12 | { |
||
| 13 | if (!$container->has('kunstmaan_node_search.search.service')) { |
||
| 14 | return; |
||
| 15 | } |
||
| 16 | |||
| 17 | $searchers = []; |
||
| 18 | foreach ($container->findTaggedServiceIds('kunstmaan_node_search.node_searcher') as $id => $tags) { |
||
| 19 | $searchers[$id] = new Reference($id); |
||
| 20 | } |
||
| 21 | |||
| 22 | $container |
||
| 23 | ->getDefinition('kunstmaan_node_search.search.service') |
||
| 24 | ->replaceArgument(3, $searchers) |
||
| 25 | ; |
||
| 26 | } |
||
| 27 | } |
||
| 28 |