adrema/app/Initialize/InitializeJob.php

27 lines
570 B
PHP
Raw Normal View History

2020-04-12 00:26:44 +02:00
<?php
namespace App\Initialize;
use App\Member;
use Aweos\Agnoster\Progress\HasProgress;
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
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, HasProgress;
/**
* 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
}
}