innerHtml = null;
$this->outerHtml = null;
$this->text = null;
if (is_null($this->parent) === false) {
$this->parent->clear();
}
}
/**
* Returns all children of this html node.
*
* @return array
*/
protected function getIteratorArray(): array
{
return $this->getChildren();
}
}