public function append(Node $node)
    {

        if (!is_array($this->_children)) {
            $this->_children = [];
        }

        $this->_children[] = $node;
        return $this;
    }
public function append(Node $node)
    {

        if (!is_array($this->_children)) {
            $this->_children = [];
        }

        $this->_children[] = $node;
        return $this;
    }
public function append ( Node $ node ) { if ( ! is_array ( $ this -> _children ) ) { $ this -> _children = [ ] ; } $ this -> _children [ ] = $ node ; return $ this ; }
Append a node to the list

@param \BeeTree\Contracts\Node $node
@return self
Append a node to the list