user = $user; $this->guardian = $guardian; $this->relationship = $relationship; } /** * Get the message envelope. * * @return \Illuminate\Mail\Mailables\Envelope */ public function envelope() { return new Envelope( subject: 'Welcome to ' . config('app.name', 'Club SaaS') . ' - ' . $this->user->full_name, ); } /** * Get the message content definition. * * @return \Illuminate\Mail\Mailables\Content */ public function content() { return new Content( view: 'emails.welcome', ); } /** * Get the attachments for the message. * * @return array */ public function attachments() { return []; } }