mirror of
https://github.com/archtechx/tenancy-queue-tester.git
synced 2025-12-12 16:54:03 +00:00
support older Laravel versions better (move away from the new Queueable trait)
This commit is contained in:
parent
a5c01c02b0
commit
fd830beaf7
1 changed files with 5 additions and 2 deletions
|
|
@ -3,13 +3,16 @@
|
|||
namespace App\Jobs;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Queue\Queueable;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class FooJob implements ShouldQueue
|
||||
{
|
||||
use Queueable;
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
public function handle(): void
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue