X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/restate/vendor/maatwebsite/excel/src
home
/
gfecatvj
/
sites
/
restate
/
vendor
/
maatwebsite
/
excel
/
src
/
📁
..
📄
Cell.php
(2.18 KB)
📄
ChunkReader.php
(2.67 KB)
📁
Concerns
📁
Console
📄
DefaultValueBinder.php
(574 B)
📄
DelegatedMacroable.php
(730 B)
📁
Events
📄
Excel.php
(4.75 KB)
📄
ExcelServiceProvider.php
(2.8 KB)
📁
Exceptions
📄
Exporter.php
(1.51 KB)
📁
Facades
📁
Factories
📁
Fakes
📁
Files
📁
Filters
📄
HasEventBus.php
(1.25 KB)
📄
HeadingRowImport.php
(955 B)
📁
Helpers
📄
Importer.php
(1.53 KB)
📁
Imports
📁
Jobs
📄
MappedReader.php
(1.26 KB)
📁
Mixins
📄
QueuedWriter.php
(6.01 KB)
📄
Reader.php
(12.03 KB)
📄
RegistersCustomConcerns.php
(1.1 KB)
📄
Row.php
(1.82 KB)
📄
Sheet.php
(18.05 KB)
📁
Transactions
📁
Validators
📄
Writer.php
(4.95 KB)
Editing: HeadingRowImport.php
<?php namespace Maatwebsite\Excel; use Maatwebsite\Excel\Concerns\Importable; use Maatwebsite\Excel\Concerns\WithLimit; use Maatwebsite\Excel\Concerns\WithMapping; use Maatwebsite\Excel\Concerns\WithStartRow; use Maatwebsite\Excel\Imports\HeadingRowFormatter; class HeadingRowImport implements WithStartRow, WithLimit, WithMapping { use Importable; /** * @var int */ private $headingRow; /** * @param int $headingRow */ public function __construct(int $headingRow = 1) { $this->headingRow = $headingRow; } /** * @return int */ public function startRow(): int { return $this->headingRow; } /** * @return int */ public function limit(): int { return 1; } /** * @param mixed $row * * @return array */ public function map($row): array { return HeadingRowFormatter::format($row); } }
Upload File
Create Folder