user = $user; $this->invoice = $invoice; $this->type = $type; $this->payment = $payment; } /** * Execute the job. * * @param ContactMailer $mailer */ public function handle(UserMailer $userMailer) { $userMailer->sendNotification($this->user, $this->invoice, $this->type, $this->payment); } }