Job.php 961 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /*
  3. * This file is part of the Jiannei/lumen-api-starter.
  4. *
  5. * (c) Jiannei <longjian.huang@foxmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace App\Jobs;
  11. use Illuminate\Bus\Queueable;
  12. use Illuminate\Contracts\Queue\ShouldQueue;
  13. use Illuminate\Queue\InteractsWithQueue;
  14. use Illuminate\Queue\SerializesModels;
  15. abstract class Job implements ShouldQueue
  16. {
  17. /*
  18. |--------------------------------------------------------------------------
  19. | Queueable Jobs
  20. |--------------------------------------------------------------------------
  21. |
  22. | This job base class provides a central location to place any logic that
  23. | is shared across all of your jobs. The trait included with the class
  24. | provides access to the "queueOn" and "delay" queue helper methods.
  25. |
  26. */
  27. use InteractsWithQueue;
  28. use Queueable;
  29. use SerializesModels;
  30. }