user = $user; $this->type = $type; $this->reportedFor = $reportedFor; $this->reportSubject = $reportSubject; $this->description = $description; $this->subject = trans('email.email_subject_label.report_request'); } /** * @return ReportEmail */ public function build() { return $this->view('frontend.mail.report') ->with([ 'user' => $this->user, 'type' => $this->type, 'reportedFor' => $this->reportedFor, 'reportSubject' => $this->reportSubject, 'description' => $this->description ]); } }