expressolivretools / app / Jobs / Job.php @ master
Histórico | Ver | Anotar | Baixar (720 Bytes)
1 | 3e379cec | Alexandre Correia | <?php
|
---|---|---|---|
2 | |||
3 | namespace App\Jobs; |
||
4 | |||
5 | use Illuminate\Bus\Queueable; |
||
6 | use Illuminate\Contracts\Queue\ShouldQueue; |
||
7 | use Illuminate\Queue\InteractsWithQueue; |
||
8 | use Illuminate\Queue\SerializesModels; |
||
9 | |||
10 | abstract class Job implements ShouldQueue |
||
11 | { |
||
12 | /*
|
||
13 | |--------------------------------------------------------------------------
|
||
14 | | Queueable Jobs
|
||
15 | |--------------------------------------------------------------------------
|
||
16 | |
|
||
17 | | This job base class provides a central location to place any logic that
|
||
18 | | is shared across all of your jobs. The trait included with the class
|
||
19 | | provides access to the "queueOn" and "delay" queue helper methods.
|
||
20 | |
|
||
21 | */
|
||
22 | |||
23 | use InteractsWithQueue, Queueable, SerializesModels; |
||
24 | } |