| 1 | <?php |
||
| 9 | class DataTablesExportHandler implements FromCollection |
||
| 10 | { |
||
| 11 | use Exportable; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var Collection |
||
| 15 | */ |
||
| 16 | protected $collection; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * DataTablesExportHandler constructor. |
||
| 20 | * |
||
| 21 | * @param Collection $collection |
||
| 22 | */ |
||
| 23 | public function __construct(Collection $collection) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return Collection |
||
| 30 | */ |
||
| 31 | public function collection() |
||
| 35 | } |
||
| 36 |