message = $message; $this->tablecontent = $tablecontent; $this->alarm_level_id = $alarm_level_id; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'NUH-Odds Alarm', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( markdown: 'mail.user.alarm', with: [ 'tablecontent' => $this->tablecontent, 'message' => $this->message, 'alarm_level_id' => $this->alarm_level_id, ], ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }