private function addPoolsSection(ArrayNodeDefinition $node)
    {
        $node
            ->children()
                ->arrayNode('pools')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->arrayNode('method')
                            ->addDefaultsIfNotSet()
                            ->children()
                                ->variableNode('templates')->defaultValue([
                                    '_form.html' => 'EkynaPaymentBundle:Admin/Method:_form.html',
                                    'show.html'  => 'EkynaPaymentBundle:Admin/Method:show.html',
                                    'new.html'   => 'EkynaPaymentBundle:Admin/Method:new.html',
                                ])->end()
                                ->scalarNode('parent')->end()
                                ->scalarNode('entity')->defaultValue('Ekyna\Bundle\PaymentBundle\Entity\Method')->end()
                                ->scalarNode('controller')->defaultValue('Ekyna\Bundle\PaymentBundle\Controller\Admin\MethodController')->end()
                                ->scalarNode('operator')->end()
                                ->scalarNode('repository')->defaultValue('Ekyna\Bundle\PaymentBundle\Entity\MethodRepository')->end()
                                ->scalarNode('form')->defaultValue('Ekyna\Bundle\PaymentBundle\Form\Type\MethodType')->end()
                                ->scalarNode('table')->defaultValue('Ekyna\Bundle\PaymentBundle\Table\Type\MethodType')->end()
                                ->scalarNode('event')->end()
                            ->end()
                        ->end()
                    ->end()
                ->end()
            ->end()
        ;
    }
private function addPoolsSection(ArrayNodeDefinition $node)
    {
        $node
            ->children()
                ->arrayNode('pools')
                    ->addDefaultsIfNotSet()
                    ->children()
                        ->arrayNode('method')
                            ->addDefaultsIfNotSet()
                            ->children()
                                ->variableNode('templates')->defaultValue([
                                    '_form.html' => 'EkynaPaymentBundle:Admin/Method:_form.html',
                                    'show.html'  => 'EkynaPaymentBundle:Admin/Method:show.html',
                                    'new.html'   => 'EkynaPaymentBundle:Admin/Method:new.html',
                                ])->end()
                                ->scalarNode('parent')->end()
                                ->scalarNode('entity')->defaultValue('Ekyna\Bundle\PaymentBundle\Entity\Method')->end()
                                ->scalarNode('controller')->defaultValue('Ekyna\Bundle\PaymentBundle\Controller\Admin\MethodController')->end()
                                ->scalarNode('operator')->end()
                                ->scalarNode('repository')->defaultValue('Ekyna\Bundle\PaymentBundle\Entity\MethodRepository')->end()
                                ->scalarNode('form')->defaultValue('Ekyna\Bundle\PaymentBundle\Form\Type\MethodType')->end()
                                ->scalarNode('table')->defaultValue('Ekyna\Bundle\PaymentBundle\Table\Type\MethodType')->end()
                                ->scalarNode('event')->end()
                            ->end()
                        ->end()
                    ->end()
                ->end()
            ->end()
        ;
    }
private function addPoolsSection ( ArrayNodeDefinition $ node ) { $ node -> children ( ) -> arrayNode ( 'pools' ) -> addDefaultsIfNotSet ( ) -> children ( ) -> arrayNode ( 'method' ) -> addDefaultsIfNotSet ( ) -> children ( ) -> variableNode ( 'templates' ) -> defaultValue ( [ '_form.html' => 'EkynaPaymentBundle:Admin/Method:_form.html' , 'show.html' => 'EkynaPaymentBundle:Admin/Method:show.html' , 'new.html' => 'EkynaPaymentBundle:Admin/Method:new.html' , ] ) -> end ( ) -> scalarNode ( 'parent' ) -> end ( ) -> scalarNode ( 'entity' ) -> defaultValue ( 'Ekyna\Bundle\PaymentBundle\Entity\Method' ) -> end ( ) -> scalarNode ( 'controller' ) -> defaultValue ( 'Ekyna\Bundle\PaymentBundle\Controller\Admin\MethodController' ) -> end ( ) -> scalarNode ( 'operator' ) -> end ( ) -> scalarNode ( 'repository' ) -> defaultValue ( 'Ekyna\Bundle\PaymentBundle\Entity\MethodRepository' ) -> end ( ) -> scalarNode ( 'form' ) -> defaultValue ( 'Ekyna\Bundle\PaymentBundle\Form\Type\MethodType' ) -> end ( ) -> scalarNode ( 'table' ) -> defaultValue ( 'Ekyna\Bundle\PaymentBundle\Table\Type\MethodType' ) -> end ( ) -> scalarNode ( 'event' ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) ; }
Adds admin pool sections.

@param ArrayNodeDefinition $node
Adds admin pool sections .