/home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src/Jobs
NameSizeModeActions
AfterImportJob.php13180644editdlrm
AppendDataToSheet.php19670644editdlrm
AppendQueryToSheet.php23260644editdlrm
AppendViewToSheet.php19080644editdlrm
CloseSheet.php17520644editdlrm
ExtendedQueueable.php4020644editdlrm
ProxyFailures.php2910644editdlrm
QueueExport.php18480644editdlrm
QueueImport.php6400644editdlrm
ReadChunk.php38580644editdlrm
StoreQueuedExport.php13010644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src/Jobs/AppendQueryToSheet.php (2326B)
sheetExport = $sheetExport; $this->temporaryFile = $temporaryFile; $this->writerType = $writerType; $this->sheetIndex = $sheetIndex; $this->page = $page; $this->chunkSize = $chunkSize; } /** * Get the middleware the job should be dispatched through. * * @return array */ public function middleware() { return (method_exists($this->sheetExport, 'middleware')) ? $this->sheetExport->middleware() : []; } /** * @param Writer $writer * * @throws \PhpOffice\PhpSpreadsheet\Exception * @throws \PhpOffice\PhpSpreadsheet\Reader\Exception */ public function handle(Writer $writer) { $writer = $writer->reopen($this->temporaryFile, $this->writerType); $sheet = $writer->getSheetByIndex($this->sheetIndex); $query = $this->sheetExport->query()->forPage($this->page, $this->chunkSize); $sheet->appendRows($query->get(), $this->sheetExport); $writer->write($this->sheetExport, $this->temporaryFile, $this->writerType); } }