withType(EmailActivation::TYPE_FORGOT_PASSWORD_KEY); } public function init(): void { parent::init(); $this->type = EmailActivation::TYPE_FORGOT_PASSWORD_KEY; } protected function getResendTimeout(): ?DateInterval { return new DateInterval('PT30M'); } protected function getExpireDuration(): ?DateInterval { return new DateInterval('PT1H'); } }