/home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src
NameSizeModeActions
Concerns/-0755rm
Console/-0755rm
Events/-0755rm
Exceptions/-0755rm
Facades/-0755rm
Factories/-0755rm
Fakes/-0755rm
Files/-0755rm
Filters/-0755rm
Helpers/-0755rm
Imports/-0755rm
Jobs/-0755rm
Mixins/-0755rm
Transactions/-0755rm
Validators/-0755rm
Cell.php22340644editdlrm
ChunkReader.php27300644editdlrm
DefaultValueBinder.php5740644editdlrm
DelegatedMacroable.php7300644editdlrm
Excel.php48620644editdlrm
ExcelServiceProvider.php28680644editdlrm
Exporter.php15490644editdlrm
HasEventBus.php12780644editdlrm
HeadingRowImport.php9550644editdlrm
Importer.php15690644editdlrm
MappedReader.php12880644editdlrm
QueuedWriter.php61520644editdlrm
Reader.php123190644editdlrm
RegistersCustomConcerns.php11230644editdlrm
Row.php18600644editdlrm
Sheet.php184860644editdlrm
Writer.php50700644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/maatwebsite/excel/src/Excel.php (4862B)
writer = $writer; $this->reader = $reader; $this->filesystem = $filesystem; $this->queuedWriter = $queuedWriter; } /** * {@inheritdoc} */ public function download($export, string $fileName, string $writerType = null, array $headers = []) { return response()->download( $this->export($export, $fileName, $writerType)->getLocalPath(), $fileName, $headers )->deleteFileAfterSend(true); } /** * {@inheritdoc} */ public function store($export, string $filePath, string $diskName = null, string $writerType = null, $diskOptions = []) { if ($export instanceof ShouldQueue) { return $this->queue($export, $filePath, $diskName, $writerType, $diskOptions); } $temporaryFile = $this->export($export, $filePath, $writerType); $exported = $this->filesystem->disk($diskName, $diskOptions)->copy( $temporaryFile, $filePath ); $temporaryFile->delete(); return $exported; } /** * {@inheritdoc} */ public function queue($export, string $filePath, string $disk = null, string $writerType = null, $diskOptions = []) { $writerType = FileTypeDetector::detectStrict($filePath, $writerType); return $this->queuedWriter->store( $export, $filePath, $disk, $writerType, $diskOptions ); } /** * {@inheritdoc} */ public function raw($export, string $writerType) { $temporaryFile = $this->writer->export($export, $writerType); $contents = $temporaryFile->contents(); $temporaryFile->delete(); return $contents; } /** * {@inheritdoc} */ public function import($import, $filePath, string $disk = null, string $readerType = null) { $readerType = FileTypeDetector::detect($filePath, $readerType); $response = $this->reader->read($import, $filePath, $readerType, $disk); if ($response instanceof PendingDispatch) { return $response; } return $this; } /** * {@inheritdoc} */ public function toArray($import, $filePath, string $disk = null, string $readerType = null): array { $readerType = FileTypeDetector::detect($filePath, $readerType); return $this->reader->toArray($import, $filePath, $readerType, $disk); } /** * {@inheritdoc} */ public function toCollection($import, $filePath, string $disk = null, string $readerType = null): Collection { $readerType = FileTypeDetector::detect($filePath, $readerType); return $this->reader->toCollection($import, $filePath, $readerType, $disk); } /** * {@inheritdoc} */ public function queueImport(ShouldQueue $import, $filePath, string $disk = null, string $readerType = null) { return $this->import($import, $filePath, $disk, $readerType); } /** * @param object $export * @param string|null $fileName * @param string $writerType * * @throws \PhpOffice\PhpSpreadsheet\Exception * @return TemporaryFile */ protected function export($export, string $fileName, string $writerType = null): TemporaryFile { $writerType = FileTypeDetector::detectStrict($fileName, $writerType); return $this->writer->export($export, $writerType); } }