X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/restate/vendor/maatwebsite/excel/src/Concerns
home
/
gfecatvj
/
sites
/
restate
/
vendor
/
maatwebsite
/
excel
/
src
/
Concerns
/
📁
..
📄
Exportable.php
(2.94 KB)
📄
FromArray.php
(143 B)
📄
FromCollection.php
(187 B)
📄
FromGenerator.php
(175 B)
📄
FromIterator.php
(170 B)
📄
FromQuery.php
(178 B)
📄
FromView.php
(176 B)
📄
Importable.php
(3.88 KB)
📄
MapsCsvSettings.php
(1.78 KB)
📄
OnEachRow.php
(174 B)
📄
RegistersEventListeners.php
(1.47 KB)
📄
ShouldAutoSize.php
(75 B)
📄
SkipsErrors.php
(509 B)
📄
SkipsFailures.php
(555 B)
📄
SkipsOnError.php
(175 B)
📄
SkipsOnFailure.php
(221 B)
📄
SkipsUnknownSheets.php
(179 B)
📄
ToArray.php
(152 B)
📄
ToCollection.php
(218 B)
📄
ToModel.php
(230 B)
📄
WithBatchInserts.php
(150 B)
📄
WithCalculatedFormulas.php
(83 B)
📄
WithCharts.php
(189 B)
📄
WithChunkReading.php
(150 B)
📄
WithColumnFormatting.php
(162 B)
📄
WithConditionalSheets.php
(779 B)
📄
WithCustomChunkSize.php
(153 B)
📄
WithCustomCsvSettings.php
(164 B)
📄
WithCustomQuerySize.php
(677 B)
📄
WithCustomStartCell.php
(159 B)
📄
WithCustomValueBinder.php
(152 B)
📄
WithDrawings.php
(215 B)
📄
WithEvents.php
(153 B)
📄
WithHeadingRow.php
(75 B)
📄
WithHeadings.php
(149 B)
📄
WithLimit.php
(139 B)
📄
WithMappedCells.php
(151 B)
📄
WithMapping.php
(179 B)
📄
WithMultipleSheets.php
(153 B)
📄
WithPreCalculateFormulas.php
(85 B)
📄
WithProgressBar.php
(209 B)
📄
WithStartRow.php
(145 B)
📄
WithStrictNullComparison.php
(85 B)
📄
WithTitle.php
(145 B)
📄
WithValidation.php
(148 B)
Editing: Exportable.php
<?php namespace Maatwebsite\Excel\Concerns; use Illuminate\Foundation\Bus\PendingDispatch; use Maatwebsite\Excel\Exceptions\NoFilenameGivenException; use Maatwebsite\Excel\Exceptions\NoFilePathGivenException; use Maatwebsite\Excel\Exporter; trait Exportable { /** * @param string $fileName * @param string|null $writerType * @param array $headers * * @throws NoFilenameGivenException * @return \Illuminate\Http\Response|\Symfony\Component\HttpFoundation\BinaryFileResponse */ public function download(string $fileName = null, string $writerType = null, array $headers = null) { $headers = $headers ?? $this->headers ?? []; $fileName = $fileName ?? $this->fileName ?? null; $writerType = $writerType ?? $this->writerType ?? null; if (null === $fileName) { throw new NoFilenameGivenException(); } return $this->getExporter()->download($this, $fileName, $writerType, $headers); } /** * @param string $filePath * @param string|null $disk * @param string|null $writerType * @param mixed $diskOptions * * @throws NoFilePathGivenException * @return bool|PendingDispatch */ public function store(string $filePath = null, string $disk = null, string $writerType = null, $diskOptions = []) { $filePath = $filePath ?? $this->filePath ?? null; if (null === $filePath) { throw NoFilePathGivenException::export(); } return $this->getExporter()->store( $this, $filePath, $disk ?? $this->disk ?? null, $writerType ?? $this->writerType ?? null, $diskOptions ?? $this->diskOptions ?? [] ); } /** * @param string|null $filePath * @param string|null $disk * @param string|null $writerType * @param mixed $diskOptions * * @throws NoFilePathGivenException * @return PendingDispatch */ public function queue(string $filePath = null, string $disk = null, string $writerType = null, $diskOptions = []) { $filePath = $filePath ?? $this->filePath ?? null; if (null === $filePath) { throw NoFilePathGivenException::export(); } return $this->getExporter()->queue( $this, $filePath, $disk ?? $this->disk ?? null, $writerType ?? $this->writerType ?? null, $diskOptions ?? $this->diskOptions ?? [] ); } /** * Create an HTTP response that represents the object. * * @param \Illuminate\Http\Request $request * * @throws NoFilenameGivenException * @return \Illuminate\Http\Response */ public function toResponse($request) { return $this->download(); } /** * @return Exporter */ private function getExporter(): Exporter { return app(Exporter::class); } }
Upload File
Create Folder