/** * @param integer|string $key * @return void */ public function visitElementStart($key) { parent::visitElementStart($key); $this->pushElementType($key); }