ticket = $ticket; $this->corpsMaj = $corpsMaj; } /** * Build the message. * * @return $this */ public function build() { $ticket = $this->ticket; $corpsMaj = $this->corpsMaj; return $this->subject("[SupportWeb] Le ticket n°" . $ticket->id . " à été mis à jour")->view('mails.ticket-update', compact('ticket', 'corpsMaj')); } }