Skip to content

Kirby 5.0.4

$dom->document()

Returns the document object

$dom->document(): DOMDocument

Return type

DOMDocument

This method modifies the existing $dom object it is applied to and returns it again.

Parent class

Kirby\Toolkit\Dom