\App\TraitsExcelTrait

Summary

Methods
Properties
Constants
excelExport()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

excelExport()

excelExport(array  $header, array|\Illuminate\Support\Collection  $list, string  $name, array  $columnFormat = array()) : \Symfony\Component\HttpFoundation\BinaryFileResponse

Parameters

array $header

(表头)

array|\Illuminate\Support\Collection $list

(数据)

string $name

(表名)

array $columnFormat

Returns

\Symfony\Component\HttpFoundation\BinaryFileResponse