src/CoreBundle/DependencyInjection/CompilerPass/CollectFactoriesPass.php
private function collectAttributeFactories($container)
    {
        $attributeFactory = $container->getDefinition('metamodels.attribute_factory');
        foreach (array_keys($container->findTaggedServiceIds(self::TAG_ATTRIBUTE_FACTORY)) as $factory) {
            $attributeFactory->addMethodCall('addTypeFactory', [new Reference($factory)]);
        }
    }
private function collectAttributeFactories($container)
    {
        $attributeFactory = $container->getDefinition('metamodels.attribute_factory');
        foreach (array_keys($container->findTaggedServiceIds(self::TAG_ATTRIBUTE_FACTORY)) as $factory) {
            $attributeFactory->addMethodCall('addTypeFactory', [new Reference($factory)]);
        }
    }
private function collectAttributeFactories ( $ container ) { $ attributeFactory = $ container -> getDefinition ( 'metamodels.attribute_factory' ) ; foreach ( array_keys ( $ container -> findTaggedServiceIds ( self :: TAG_ATTRIBUTE_FACTORY ) ) as $ factory ) { $ attributeFactory -> addMethodCall ( 'addTypeFactory' , [ new Reference ( $ factory ) ] ) ; } }
Collect all tagged attribute factories.

@param ContainerBuilder $container The container builder.

@return void
Collect all tagged attribute factories .