assets = $params; $this->threshold = $threshold; } /** * Get the message envelope. */ public function envelope(): Envelope { $from = new Address(config('mail.from.address'), config('mail.from.name')); return new Envelope( from: $from, subject: trans_choice('mail.upcoming-audits', $this->assets->count(), ['count' => $this->assets->count(), 'threshold' => $this->threshold]), ); } /** * Get the message content definition. */ public function content(): Content { return new Content( markdown: 'notifications.markdown.upcoming-audits', with: [ 'assets' => $this->assets, 'threshold' => $this->threshold, ], ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }