protected function addResolversSection(ArrayNodeDefinition $node, array $factories)
    {
        $resolverNodeBuilder = $node
            ->fixXmlConfig('resolver')
            ->children()
                ->arrayNode('resolvers')
                    ->useAttributeAsKey('name')
                    ->prototype('array')
                    ->performNoDeepMerging()
                    ->children()
        ;

        foreach ($factories as $name => $factory) {
            $factoryNode = $resolverNodeBuilder->arrayNode($name)->canBeUnset();

            $factory->addConfiguration($factoryNode);
        }
    }
protected function addResolversSection(ArrayNodeDefinition $node, array $factories)
    {
        $resolverNodeBuilder = $node
            ->fixXmlConfig('resolver')
            ->children()
                ->arrayNode('resolvers')
                    ->useAttributeAsKey('name')
                    ->prototype('array')
                    ->performNoDeepMerging()
                    ->children()
        ;

        foreach ($factories as $name => $factory) {
            $factoryNode = $resolverNodeBuilder->arrayNode($name)->canBeUnset();

            $factory->addConfiguration($factoryNode);
        }
    }
protected function addResolversSection ( ArrayNodeDefinition $ node , array $ factories ) { $ resolverNodeBuilder = $ node -> fixXmlConfig ( 'resolver' ) -> children ( ) -> arrayNode ( 'resolvers' ) -> useAttributeAsKey ( 'name' ) -> prototype ( 'array' ) -> performNoDeepMerging ( ) -> children ( ) ; foreach ( $ factories as $ name => $ factory ) { $ factoryNode = $ resolverNodeBuilder -> arrayNode ( $ name ) -> canBeUnset ( ) ; $ factory -> addConfiguration ( $ factoryNode ) ; } }
Add resolvers section

@param \Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition $node
@param array $factories
Add resolvers section