ShouldQueueExport.php 528 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace Maatwebsite\Excel\Tests\Data\Stubs;
  3. use Illuminate\Contracts\Queue\ShouldQueue;
  4. use Maatwebsite\Excel\Concerns\Exportable;
  5. use Maatwebsite\Excel\Concerns\WithMultipleSheets;
  6. class ShouldQueueExport implements WithMultipleSheets, ShouldQueue
  7. {
  8. use Exportable;
  9. /**
  10. * @return SheetWith100Rows[]
  11. */
  12. public function sheets(): array
  13. {
  14. return [
  15. new SheetWith100Rows('A'),
  16. new SheetWith100Rows('B'),
  17. new SheetWith100Rows('C'),
  18. ];
  19. }
  20. }