mirror of
https://github.com/archtechx/tenancy-queue-tester.git
synced 2025-12-12 08:24:05 +00:00
19 lines
383 B
PHP
19 lines
383 B
PHP
<?php
|
|
|
|
namespace App\Jobs;
|
|
|
|
use App\Models\User;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Foundation\Queue\Queueable;
|
|
use Illuminate\Support\Str;
|
|
|
|
class FooJob implements ShouldQueue
|
|
{
|
|
use Queueable;
|
|
|
|
public function handle(): void
|
|
{
|
|
User::create(['name' => Str::random(12), 'email' => Str::random(12), 'password' => Str::random(12)]);
|
|
}
|
|
}
|
|
|