title = $data[0]->title; $this->type = $data[0]->type; $this->content = $data[0]->content; $this->name = $participant->first_name; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: mb_decode_mimeheader($this->title), ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'mail.lan', ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }