aboutsummaryrefslogtreecommitdiff
path: root/app/Jobs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Jobs')
-rw-r--r--app/Jobs/Job.php25
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;
+}