GenerateInstallationPack.php 465 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace App\Jobs;
  3. use App\Models\Order;
  4. use Illuminate\Contracts\Queue\ShouldQueue;
  5. use Illuminate\Foundation\Queue\Queueable;
  6. class GenerateInstallationPack implements ShouldQueue
  7. {
  8. use Queueable;
  9. /**
  10. * Create a new job instance.
  11. */
  12. public function __construct(private readonly Order $order)
  13. {
  14. //
  15. }
  16. /**
  17. * Execute the job.
  18. */
  19. public function handle(): void
  20. {
  21. // generate pack
  22. }
  23. }