Download app/Mail/PasswordResetEmail.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/pnacorp/magicai/resolve/main/app/Mail/PasswordResetEmail.php
- Command line
-
hf download hf://pnacorp/magicai/app/Mail/PasswordResetEmail.php
-
curl -L -o PasswordResetEmail.php https://huggingface.co/pnacorp/magicai/resolve/main/app/Mail/PasswordResetEmail.php
1.09 kB
| namespace App\Mail; | |
| use App\Models\User; | |
| use Illuminate\Bus\Queueable; | |
| use Illuminate\Mail\Mailable; | |
| use Illuminate\Mail\Mailables\Content; | |
| use Illuminate\Mail\Mailables\Envelope; | |
| use Illuminate\Queue\SerializesModels; | |
| class PasswordResetEmail extends Mailable | |
| { | |
| use Queueable; | |
| use SerializesModels; | |
| /** | |
| * Create a new message instance. | |
| */ | |
| public function __construct( | |
| public User $user, public $settings, public $template | |
| ) {} | |
| /** | |
| * Get the message envelope. | |
| */ | |
| public function envelope(): Envelope | |
| { | |
| $template = $this->template; | |
| return new Envelope( | |
| subject: $template->subject, | |
| ); | |
| } | |
| /** | |
| * Get the message content definition. | |
| */ | |
| public function content(): Content | |
| { | |
| return new Content( | |
| view: 'mail.reset', | |
| ); | |
| } | |
| /** | |
| * Get the attachments for the message. | |
| * | |
| * @return array<int, \Illuminate\Mail\Mailables\Attachment> | |
| */ | |
| public function attachments(): array | |
| { | |
| return []; | |
| } | |
| } | |