Exemple #1
0
 /**
  * Append a node definition.
  *
  *     $node = new ArrayNodeDefinition()
  *         ->children()
  *             ->scalarNode('foo')
  *             ->scalarNode('baz')
  *         ->end()
  *         ->append($this->getBarNodeDefinition())
  *     ;
  *
  * @return ArrayNodeDefinition This node
  */
 public function append(NodeDefinition $node)
 {
     $this->children[$node->name] = $node->setParent($this);
     return $this;
 }