private function hydrateTemplatesNode(NodeBuilder $node)
    {
        $node
            ->booleanNode('default')
                ->defaultFalse()
            ->end()
            ->scalarNode('path')
                ->cannotBeEmpty()
            ->end()
            ->arrayNode('contents')
                ->prototype('scalar')
                    ->cannotBeEmpty()
                ->end()
            ->end()
        ;

        return $node;
    }
private function hydrateTemplatesNode(NodeBuilder $node)
    {
        $node
            ->booleanNode('default')
                ->defaultFalse()
            ->end()
            ->scalarNode('path')
                ->cannotBeEmpty()
            ->end()
            ->arrayNode('contents')
                ->prototype('scalar')
                    ->cannotBeEmpty()
                ->end()
            ->end()
        ;

        return $node;
    }
private function hydrateTemplatesNode ( NodeBuilder $ node ) { $ node -> booleanNode ( 'default' ) -> defaultFalse ( ) -> end ( ) -> scalarNode ( 'path' ) -> cannotBeEmpty ( ) -> end ( ) -> arrayNode ( 'contents' ) -> prototype ( 'scalar' ) -> cannotBeEmpty ( ) -> end ( ) -> end ( ) ; return $ node ; }
Hydrate given node with templates configuration nodes.

@param NodeBuilder $node

@return NodeBuilder
Hydrate given node with templates configuration nodes .