|
- <?php
-
- namespace App\Email\Guests;
-
- use App\Models\PasswordSettingToken;
-
- class PasswordSettingStart extends Guest
- {
-
- public function __construct(private PasswordSettingToken $token)
- {
- }
-
- public function getTemplateName(): string
- {
- return 'emails.guests.password_setting_start';
- }
-
- public function getSubject(): string
- {
- return "ログインパスワード変更手続きのお知らせ";
- }
-
- public function getGuestParams(): array
- {
- return [
- 'url' => $this->getVerifyUrl(),
- ];
- }
-
- private function getVerifyUrl(): string
- {
- return $this->getAppUrl(['setting', 'password', 'verify', $this->token->token]);
- }
- }
|