X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/restate/vendor/maatwebsite/excel/src/Jobs
home
/
gfecatvj
/
sites
/
restate
/
vendor
/
maatwebsite
/
excel
/
src
/
Jobs
/
📁
..
📄
AfterImportJob.php
(1.29 KB)
📄
AppendDataToSheet.php
(1.92 KB)
📄
AppendQueryToSheet.php
(2.27 KB)
📄
AppendViewToSheet.php
(1.86 KB)
📄
CloseSheet.php
(1.71 KB)
📄
ExtendedQueueable.php
(402 B)
📄
ProxyFailures.php
(291 B)
📄
QueueExport.php
(1.8 KB)
📄
QueueImport.php
(640 B)
📄
ReadChunk.php
(3.77 KB)
📄
StoreQueuedExport.php
(1.27 KB)
Editing: AfterImportJob.php
<?php namespace Maatwebsite\Excel\Jobs; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Maatwebsite\Excel\Concerns\WithEvents; use Maatwebsite\Excel\Events\ImportFailed; use Maatwebsite\Excel\HasEventBus; use Maatwebsite\Excel\Reader; use Throwable; class AfterImportJob implements ShouldQueue { use Queueable, HasEventBus; /** * @var WithEvents */ private $import; /** * @var Reader */ private $reader; /** * @param object $import * @param Reader $reader */ public function __construct($import, Reader $reader) { $this->import = $import; $this->reader = $reader; } public function handle() { if ($this->import instanceof WithEvents) { $this->reader->registerListeners($this->import->registerEvents()); } $this->reader->afterImport($this->import); } /** * @param Throwable $e */ public function failed(Throwable $e) { if ($this->import instanceof WithEvents) { $this->registerListeners($this->import->registerEvents()); $this->raise(new ImportFailed($e)); if (method_exists($this->import, 'failed')) { $this->import->failed($e); } } } }
Upload File
Create Folder