public function __destruct() { $this->tag = null; $this->attr = []; $this->parent = null; $this->children = []; }