We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb89cb1 commit b03a414Copy full SHA for b03a414
stubs/job.stub
@@ -0,0 +1,34 @@
1
+<?php
2
+
3
+namespace {{ namespace }};
4
5
+use Illuminate\Bus\Queueable;
6
+use Illuminate\Contracts\Queue\ShouldQueue;
7
+use Illuminate\Foundation\Bus\Dispatchable;
8
+use Illuminate\Queue\InteractsWithQueue;
9
+use Illuminate\Queue\SerializesModels;
10
+use Safemood\Workflow\Action;
11
12
+class {{ class }} extends Action implements ShouldQueue
13
+{
14
+ use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
15
16
+ /**
17
+ * Create a new job instance.
18
+ */
19
+ public function __construct()
20
+ {
21
+ //
22
+ }
23
24
25
+ * Execute the job.
26
+ *
27
+ * @param array $context
28
+ * @return void
29
30
+ public function handle(array $context): void
31
32
+ // Job logic goes here
33
34
+}
0 commit comments