Documentation

DOMWriterFromElementDelegate
in package
implements DOMWriterInterface uses DOMWriterDocumentFromElementTrait

Table of Contents

Interfaces

DOMWriterInterface

Methods

__construct()  : mixed
toDocument()  : DOMDocument
toElement()  : DOMElement
Converts the object's data to an element for an existing document.

Methods

toElement()

Converts the object's data to an element for an existing document.

public toElement(DOMDocument $targetDoc) : DOMElement

Subsequent calls are expected to return a new element each time.

Parameters
$targetDoc : DOMDocument
Return values
DOMElement

        
On this page

Search results