name = $participant->first_name; $this->phone = formatToSwedenPrefix($participant->guardian_phone); $this->smsContent = $smsContent; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: $this->phone, ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'mail.sms', with: ['smsContent' => $this->smsContent], ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }