login = $login; } /** * {@inheritdoc} */ public function getSubject() { return $this->app->trans('login:: Forgot your password'); } /** * {@inheritdoc} */ public function getMessage() { if (!$this->login) { throw new LogicException('You must set a login before calling getMessage'); } return $this->app->trans('Password renewal for login "%login%" has been requested', ['%login%' => $this->login]) . "\n" . $this->app->trans('login:: Visitez le lien suivant et suivez les instructions pour continuer, sinon ignorez cet email et il ne se passera rien'); } /** * {@inheritdoc} */ public function getButtonText() { return $this->app->trans('Renew password'); } /** * {@inheritdoc} */ public function getButtonURL() { return $this->url; } }