File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -148,9 +148,7 @@ CMQ_PLAIN_ENABLE=true
148148CMQ_PLAIN_JOB=App\Jobs\CMQPlainJobHandler@handle
149149```
150150
151- Create a job implements ` PlainPayload ` interface.
152-
153- The method ` getPayload ` must return a sting value.
151+ Create a job implements ` PlainPayload ` interface. The method ` getPayload ` must return a sting value.
154152
155153``` php
156154<?php
@@ -160,11 +158,12 @@ namespace App\Jobs;
160158use Illuminate\Bus\Queueable;
161159use Illuminate\Queue\InteractsWithQueue;
162160use Illuminate\Contracts\Queue\ShouldQueue;
161+ use Illuminate\Foundation\Bus\Dispatchable;
163162use Freyo\LaravelQueueCMQ\Queue\Contracts\PlainPayload;
164163
165164class CMQPlainJob implements ShouldQueue, PlainPayload
166165{
167- use InteractsWithQueue, Queueable;
166+ use Dispatchable, InteractsWithQueue, Queueable;
168167
169168 protected $payload;
170169
You can’t perform that action at this time.
0 commit comments