src/DependencyInjection/Configuration.php
private function createNode($name)
    {
        $treeBuilder = new TreeBuilder($name);
        if (\method_exists($treeBuilder, 'getRootNode')) {
            $rootNode = $treeBuilder->getRootNode();
        } else {
            $rootNode = $treeBuilder->root($name);
        }

        return $rootNode;
    }
private function createNode($name)
    {
        $treeBuilder = new TreeBuilder($name);
        if (\method_exists($treeBuilder, 'getRootNode')) {
            $rootNode = $treeBuilder->getRootNode();
        } else {
            $rootNode = $treeBuilder->root($name);
        }

        return $rootNode;
    }
private function createNode ( $ name ) { $ treeBuilder = new TreeBuilder ( $ name ) ; if ( \ method_exists ( $ treeBuilder , 'getRootNode' ) ) { $ rootNode = $ treeBuilder -> getRootNode ( ) ; } else { $ rootNode = $ treeBuilder -> root ( $ name ) ; } return $ rootNode ; }
Creates a node.

@param string $name the node name

@return \Symfony\Component\Config\Definition\Builder\NodeDefinition the node
Creates a node .