src/Config/BaseConfigDefinition.php
protected function getRootDefinition(TreeBuilder $treeBuilder): ArrayNodeDefinition
    {
        /** @var ArrayNodeDefinition $rootNode */
        $rootNode = $treeBuilder->root('root');
        $rootNode->ignoreExtraKeys(false);

        // @formatter:off
        $rootNode
            ->children()
                ->append($this->getParametersDefinition());
        // @formatter:on

        return $rootNode;
    }
protected function getRootDefinition(TreeBuilder $treeBuilder): ArrayNodeDefinition
    {
        /** @var ArrayNodeDefinition $rootNode */
        $rootNode = $treeBuilder->root('root');
        $rootNode->ignoreExtraKeys(false);

        // @formatter:off
        $rootNode
            ->children()
                ->append($this->getParametersDefinition());
        // @formatter:on

        return $rootNode;
    }
protected function getRootDefinition ( TreeBuilder $ treeBuilder ) : ArrayNodeDefinition { /** @var ArrayNodeDefinition $rootNode */ $ rootNode = $ treeBuilder -> root ( 'root' ) ; $ rootNode -> ignoreExtraKeys ( false ) ; // @formatter:off $ rootNode -> children ( ) -> append ( $ this -> getParametersDefinition ( ) ) ; // @formatter:on return $ rootNode ; }
Root definition to be overridden in special cases
Root definition to be overridden in special cases