public function array_() { $el = $this->document->dom->documentElement; if ($el === null) { $el = $this->document->dom; } return [$el]; }