Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function process(ContainerBuilder $container) |
||
28 | { |
||
29 | $registry = $container->getDefinition(sprintf('pimee_workflow.query.filter.%s_registry', $this->type)); |
||
30 | $filterTag = sprintf('pimee_workflow.elasticsearch.query.%s_filter', $this->type); |
||
31 | |||
32 | $filters = $this->findTaggedServices($filterTag, $container); |
||
33 | foreach ($filters as $filter) { |
||
34 | $registry->addMethodCall('register', [$filter]); |
||
35 | } |
||
54 |