We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 599c149 commit 96593a0Copy full SHA for 96593a0
README.md
@@ -137,7 +137,7 @@ php artisan queue:work {connection-name} --queue={queue-name}
137
138
```
139
CMQ_PLAIN_ENABLE=true
140
-CMQ_PLAIN_JOB=App\Jobs\CMQPlainJob@handle
+CMQ_PLAIN_JOB=App\Jobs\CMQPlainJobHandler@handle
141
142
143
```php
@@ -175,7 +175,18 @@ class CMQPlainJob implements ShouldQueue
175
{
176
return $this->payload;
177
}
178
-
+}
179
+```
180
+
181
+```php
182
+<?php
183
184
+namespace App\Jobs;
185
186
+use Illuminate\Queue\Jobs\Job;
187
188
+class CMQPlainJobHandler
189
+{
190
/**
191
* Execute the job.
192
*
0 commit comments