/home/techb158/dev.balacoffee.com/vendor/maatwebsite/excel/src
NameSizeModeActions
Cache/-0755rm
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.php22660644editdlrm
ChunkReader.php46230644editdlrm
DefaultValueBinder.php5730644editdlrm
DelegatedMacroable.php7240644editdlrm
Excel.php48520644editdlrm
ExcelServiceProvider.php40630644editdlrm
Exporter.php14650644editdlrm
HasEventBus.php13570644editdlrm
HeadingRowImport.php9520644editdlrm
Importer.php15640644editdlrm
MappedReader.php14260644editdlrm
QueuedWriter.php74810644editdlrm
Reader.php141220644editdlrm
RegistersCustomConcerns.php11250644editdlrm
Row.php42210644editdlrm
SettingsProvider.php5750644editdlrm
Sheet.php248750644editdlrm
Writer.php82330644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/maatwebsite/excel/src/Excel.php (4852B)
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 * @return TemporaryFile * * @throws \PhpOffice\PhpSpreadsheet\Exception */ protected function export($export, string $fileName, string $writerType = null): TemporaryFile { $writerType = FileTypeDetector::detectStrict($fileName, $writerType); return $this->writer->export($export, $writerType); } }