company = $company; $this->design_string = $design_string; $this->disk = $disk ?? config('filesystems.default'); } public function handle() { $pdf = $this->makePdf(null, null, $this->design_string); $numbered_pdf = $this->pageNumbering($pdf, $this->company); if($numbered_pdf) $pdf = $numbered_pdf; return $pdf; } }