/home/techb158/dev.balacoffee.com/vendor/maatwebsite/excel/src/Jobs
NameSizeModeActions
Middleware/-0755rm
AfterImportJob.php23170644editdlrm
AppendDataToSheet.php21760644editdlrm
AppendPaginatedToSheet.php30220644editdlrm
AppendQueryToSheet.php25200644editdlrm
AppendViewToSheet.php21170644editdlrm
CloseSheet.php17380644editdlrm
ExtendedQueueable.php5070644editdlrm
ProxyFailures.php2930644editdlrm
QueueExport.php22540644editdlrm
QueueImport.php6420644editdlrm
ReadChunk.php66180644editdlrm
StoreQueuedExport.php13010644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/maatwebsite/excel/src/Jobs/QueueExport.php (2254B)
export = $export; $this->writerType = $writerType; $this->temporaryFile = $temporaryFile; } /** * Get the middleware the job should be dispatched through. * * @return array */ public function middleware() { return (method_exists($this->export, 'middleware')) ? $this->export->middleware() : []; } /** * @param Writer $writer * * @throws \PhpOffice\PhpSpreadsheet\Exception */ public function handle(Writer $writer) { (new LocalizeJob($this->export))->handle($this, function () use ($writer) { $writer->open($this->export); $sheetExports = [$this->export]; if ($this->export instanceof WithMultipleSheets) { $sheetExports = $this->export->sheets(); } // Pre-create the worksheets foreach ($sheetExports as $sheetIndex => $sheetExport) { $sheet = $writer->addNewSheet($sheetIndex); $sheet->open($sheetExport); } // Write to temp file with empty sheets. $writer->write($sheetExport, $this->temporaryFile, $this->writerType); }); } /** * @param Throwable $e */ public function failed(Throwable $e) { if (method_exists($this->export, 'failed')) { $this->export->failed($e); } } }