certificate = $certificate; $this->daysRemaining = $daysRemaining; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'Action Required: Certificate [' . $this->certificate->common_name . '] Expiring in ' . $this->daysRemaining . ' Days', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'emails.certificate-expiring', ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }