src/Node/Node.php
public function append(Node $node) : bool
    {
        $node->parent = $this;

        return $this->childNodes->add($node);
    }
public function append(Node $node) : bool
    {
        $node->parent = $this;

        return $this->childNodes->add($node);
    }
public function append ( Node $ node ) : bool { $ node -> parent = $ this ; return $ this -> childNodes -> add ( $ node ) ; }
Append new child node
@param Node $node
@return bool
Append new child node