FluentDOM\Transformer\Namespaces\Optimize::__toString PHP Method

__toString() public method

Create a document with optimized namespaces and return it as xml string
public __toString ( ) : string
return string
    public function __toString()
    {
        return $this->getDocument()->saveXml();
    }