ArrayNodeDefinition::append()

append(NodeDefinition $node)

Appends a node definition.

$node = new ArrayNodeDefinition() ->children() ->scalarNode('foo')->end() ->scalarNode('baz')->end() ->end() ->append($this->getBarNodeDefinition()) ;

Parameters

NodeDefinition $node
doc_Symfony
2016-10-28 06:06:02
Comments
Leave a Comment

Please login to continue.