DOMWriterFromFileWriter
in package
implements
DOMWriterInterface
uses
DOMWriterElementFromDocumentTrait
FinalYes
Table of Contents
Interfaces
Methods
- __construct() : mixed
- toDocument() : DOMDocument
- Converts the object's data to a document.
- toElement() : DOMElement
Methods
__construct()
public
__construct(FileWriterInterface $source[, string|null $documentURI = null ][, bool $isHtml = false ]) : mixed
Parameters
- $source : FileWriterInterface
- $documentURI : string|null = null
- $isHtml : bool = false
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