1 | <?php |
||
9 | abstract class ExcelExporter extends AbstractExporter implements FromQuery, WithHeadings |
||
10 | { |
||
11 | use Exportable; |
||
12 | |||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $fileName; |
||
17 | |||
18 | /** |
||
19 | * @var array |
||
20 | */ |
||
21 | protected $headings = []; |
||
22 | |||
23 | /** |
||
24 | * @return array |
||
25 | */ |
||
26 | public function headings(): array |
||
30 | |||
31 | /** |
||
32 | * @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Eloquent\Model |
||
33 | */ |
||
34 | public function query() |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function export() |
||
48 | } |