Definition\Builder\TreeBuilder (Component\Config)
Symfony\Component\Config\Definition\Builder\TreeBuilder
class TreeBuilder implements NodeParentInterface
This is the entry class for building a config tree.
Methods
ArrayNodeDefinition|NodeDefinition | root(string $name, string $type = 'array', NodeBuilder $builder = null) Creates the root node. | |
NodeInterface | buildTree() Builds the tree. |
Details
public ArrayNodeDefinition|NodeDefinition root(string $name, string $type = 'array', NodeBuilder $builder = null)
Creates the root node.
public NodeInterface buildTree()
Builds the tree.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Config/Definition/Builder/TreeBuilder.html