src/CoreBundle/DependencyInjection/CompilerPass/CollectFactoriesPass.php
private function collectPropertyConditionFactories($container)
    {
        $factories = $container->getDefinition('metamodels.core_bundle.dc_general.property_condition_factories');
        $args      = $factories->getArgument(0);
        foreach ($container->findTaggedServiceIds(self::TAG_PROPERTY_CONDITION_FACTORY) as $factory => $tags) {
            foreach ($tags as $tag) {
                $args[$tag['type']] = new Reference($factory);
            }
        }

        $factories->setArgument(0, $args);
    }
private function collectPropertyConditionFactories($container)
    {
        $factories = $container->getDefinition('metamodels.core_bundle.dc_general.property_condition_factories');
        $args      = $factories->getArgument(0);
        foreach ($container->findTaggedServiceIds(self::TAG_PROPERTY_CONDITION_FACTORY) as $factory => $tags) {
            foreach ($tags as $tag) {
                $args[$tag['type']] = new Reference($factory);
            }
        }

        $factories->setArgument(0, $args);
    }
private function collectPropertyConditionFactories ( $ container ) { $ factories = $ container -> getDefinition ( 'metamodels.core_bundle.dc_general.property_condition_factories' ) ; $ args = $ factories -> getArgument ( 0 ) ; foreach ( $ container -> findTaggedServiceIds ( self :: TAG_PROPERTY_CONDITION_FACTORY ) as $ factory => $ tags ) { foreach ( $ tags as $ tag ) { $ args [ $ tag [ 'type' ] ] = new Reference ( $ factory ) ; } } $ factories -> setArgument ( 0 , $ args ) ; }
Collect all tagged filter factories.

@param ContainerBuilder $container The container builder.

@return void
Collect all tagged filter factories .