reminder = $notification->reminder; $this->notification = $notification; $this->user = $user; } /** * Build the message. * * @return $this */ public function build() { $contact = Contact::findOrFail($this->reminder->contact_id); \App::setLocale($this->user->locale); return $this->text('emails.reminder.notification') ->subject(trans('mail.notification_subject_line')) ->with([ 'contact' => $contact, 'reminder' => $this->reminder, 'notification' => $this->notification, 'user' => $this->user, ]); } }