user = $user; $this->coupon = $coupon; $this->settings = $settings; $this->crmCoupon = $crmCoupon; } /** * Build the message. * * @return $this */ public function build() { return $this->subject(sprintf( '%s, n\'attendez plus pour imprimer votre bon d\'achat %s !', $this->user->firstname, $this->settings->name )) ->view('front.basic.reduction-mail') ->with([ 'user' => $this->user, 'coupon' => $this->coupon, 'settings' => $this->settings, 'crmCoupon' => $this->crmCoupon ]); } }