FluentDOM\Serializer\Xml::__toString PHP Method

__toString() public method

public __toString ( ) : string
return string
    public function __toString()
    {
        return $this->_node instanceof \DOMDocument ? $this->_node->saveXml() : $this->_node->ownerDocument->saveXml($this->_node);
    }