private function getPersistersNode()
    {
        $node = $this->createRootNode('persisters');
        return $node
            ->isRequired()
            ->useAttributeAsKey('name')
            ->prototype('array')
                ->children()

                    ->enumNode('type')
                        ->values(['mongodb', null])
                    ->end()
                    ->scalarNode('service')->cannotBeEmpty()->end()

                    ->arrayNode('parameters')
                        ->performNoDeepMerging()
                        ->prototype('variable')->end()
                    ->end()
                ->end()
            ->end()
            ->validate()
                ->always(function($v) {
                    $this->validatePersisters($v);
                    return $v;
                })
            ->end()
        ;
    }
private function getPersistersNode()
    {
        $node = $this->createRootNode('persisters');
        return $node
            ->isRequired()
            ->useAttributeAsKey('name')
            ->prototype('array')
                ->children()

                    ->enumNode('type')
                        ->values(['mongodb', null])
                    ->end()
                    ->scalarNode('service')->cannotBeEmpty()->end()

                    ->arrayNode('parameters')
                        ->performNoDeepMerging()
                        ->prototype('variable')->end()
                    ->end()
                ->end()
            ->end()
            ->validate()
                ->always(function($v) {
                    $this->validatePersisters($v);
                    return $v;
                })
            ->end()
        ;
    }
private function getPersistersNode ( ) { $ node = $ this -> createRootNode ( 'persisters' ) ; return $ node -> isRequired ( ) -> useAttributeAsKey ( 'name' ) -> prototype ( 'array' ) -> children ( ) -> enumNode ( 'type' ) -> values ( [ 'mongodb' , null ] ) -> end ( ) -> scalarNode ( 'service' ) -> cannotBeEmpty ( ) -> end ( ) -> arrayNode ( 'parameters' ) -> performNoDeepMerging ( ) -> prototype ( 'variable' ) -> end ( ) -> end ( ) -> end ( ) -> end ( ) -> validate ( ) -> always ( function ( $ v ) { $ this -> validatePersisters ( $ v ) ; return $ v ; } ) -> end ( ) ; }
Gets the persisters configuration node.

@return  \Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition
Gets the persisters configuration node .