DOMWriterMemoryCache
in package
implements
DOMWriterInterface
uses
DOMWriterElementFromDocumentTrait
Table of Contents
Interfaces
Methods
- __construct() : mixed
- toDocument() : DOMDocument
- Converts the object's data to a document.
- toElement() : DOMElement
Methods
__construct()
public
__construct(DOMWriterInterface $source) : mixed
Parameters
- $source : DOMWriterInterface
toDocument()
Converts the object's data to a document.
public
toDocument() : DOMDocument
Subsequent calls are expected to return the same document each time.
Return values
DOMDocumenttoElement()
public
toElement(DOMDocument $targetDoc) : DOMElement
Parameters
- $targetDoc : DOMDocument