target = $checkedOutTo; $this->item = $licenseSeat->license; $this->admin = $checkedInBy; $this->note = $note; $this->settings = Setting::getSettings(); } /** * Get the message envelope. */ public function envelope(): Envelope { $from = new Address(env('MAIL_FROM_ADDR','service@snipe-it.io')); return new Envelope( from: $from, subject: trans('mail.License_Checkin_Notification'), ); } /** * Get the message content definition. */ public function content(): Content { return new Content( markdown: 'mail.markdown.checkin-license', with: [ 'item' => $this->item, 'admin' => $this->admin, 'note' => $this->note, 'target' => $this->target, ] ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }