toString(true, true, 1), ENT_NOQUOTES, 'UTF-8'); } public function getOuterText() { return html_entity_decode($this->toString(), ENT_NOQUOTES, 'UTF-8'); } }