invoice = $invoice; $this->reminder = $reminder; $this->pdfString = $pdfString; $this->template = $template; } /** * Execute the job. * * @param ContactMailer $mailer */ public function handle(ContactMailer $mailer) { $mailer->sendInvoice($this->invoice, $this->reminder, $this->pdfString, $this->template); } /* * Handle a job failure. * * @param ContactMailer $mailer * @param Logger $logger */ /* public function failed(ContactMailer $mailer, Logger $logger) { $this->jobName = $this->job->getName(); parent::failed($mailer, $logger); } */ }