student = $student; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'Studirect verification', ); } /** * Get the message content definition. */ public function content(): Content { $verificationUrl = URL::signedRoute('students.verify', ['id' => $this->student->id]); return new Content( view: 'emails.student-verification', with: [ 'student' => $this->student, 'verificationUrl' => $verificationUrl, ] ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }