withType(EmailActivation::TYPE_NEW_EMAIL_CONFIRMATION); } public function init(): void { parent::init(); $this->type = EmailActivation::TYPE_NEW_EMAIL_CONFIRMATION; } public function getNewEmail(): string { return $this->data['newEmail']; } public function setNewEmail(string $newEmail): void { $this->data = ArrayHelper::merge($this->data ?? [], [ 'newEmail' => $newEmail, ]); } }