2020-04-12 00:26:44 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Initialize;
|
|
|
|
|
|
|
|
use App\Member;
|
2021-11-17 22:32:52 +01:00
|
|
|
use Illuminate\Bus\Queueable;
|
2020-04-12 00:26:44 +02:00
|
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
|
|
use Illuminate\Foundation\Bus\Dispatchable;
|
2021-11-17 22:32:52 +01:00
|
|
|
use Illuminate\Queue\InteractsWithQueue;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
2020-04-12 00:26:44 +02:00
|
|
|
|
|
|
|
class InitializeJob implements ShouldQueue
|
|
|
|
{
|
2022-02-20 10:22:03 +01:00
|
|
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
2020-04-12 00:26:44 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Execute the job.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function handle()
|
|
|
|
{
|
2022-02-19 18:06:07 +01:00
|
|
|
app(Initializer::class)->run();
|
2020-04-12 00:26:44 +02:00
|
|
|
}
|
|
|
|
}
|