ParentNodeDefinitionInterface
interface ParentNodeDefinitionInterface implements BuilderAwareInterface
An interface that must be implemented by nodes which can have children.
Methods
children()
Returns a builder to add children nodes.
$this
Details
$this
append(NodeDefinition $node)
Appends a node definition.
Usage:
$node = $parentNode
->children()
->scalarNode('foo')->end()
->scalarNode('baz')->end()
->append($this->getBarNodeDefinition())
->end()
;