diff options
author | Camil Staps | 2016-01-04 15:12:59 +0100 |
---|---|---|
committer | Camil Staps | 2016-01-04 15:12:59 +0100 |
commit | 9c4afbed2310aa0c4679d11b9f568c234d202554 (patch) | |
tree | 65e8956b671239f2ec38789ce59a4cea9af0ebc2 /app/Jobs/Job.php |
Initial commit
Diffstat (limited to 'app/Jobs/Job.php')
-rw-r--r-- | app/Jobs/Job.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app/Jobs/Job.php b/app/Jobs/Job.php new file mode 100644 index 0000000..2bc4975 --- /dev/null +++ b/app/Jobs/Job.php @@ -0,0 +1,25 @@ +<?php + +namespace App\Jobs; + +use Illuminate\Bus\Queueable; +use Illuminate\Queue\SerializesModels; +use Illuminate\Queue\InteractsWithQueue; +use Illuminate\Contracts\Bus\SelfHandling; +use Illuminate\Contracts\Queue\ShouldQueue; + +abstract class Job implements SelfHandling, ShouldQueue +{ + /* + |-------------------------------------------------------------------------- + | Queueable Jobs + |-------------------------------------------------------------------------- + | + | This job base class provides a central location to place any logic that + | is shared across all of your jobs. The trait included with the class + | provides access to the "queueOn" and "delay" queue helper methods. + | + */ + + use InteractsWithQueue, Queueable, SerializesModels; +} |