customer = $customer; $this->invoice = $invoice; } /** * Build the message. * * @return $this */ public function build() { return $this->from(core()->getSenderEmailDetails()['email'], core()->getSenderEmailDetails()['name']) ->to($this->customer->email) ->subject(trans('shop::app.mail.invoice.reminder.subject')) ->view('shop::emails.customer.invoice-reminder')->with(['customer' => $this->customer, 'invoice' => $this->invoice]); } }