FluentDOM\Nodes\Creator\Node::appendTo PHP Method

appendTo() public method

public appendTo ( Element $parent ) : Element
$parent FluentDOM\Element
return FluentDOM\Element
    public function appendTo(Element $parent)
    {
        $parent->appendChild($parent->ownerDocument->importNode($this->_node, TRUE));
        return $parent;
    }