You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
550 B
28 lines
550 B
<?php
|
|
|
|
namespace App\Domains\System\Jobs\Excel;
|
|
|
|
use App\Domains\System\Events\ImportCompleted;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Foundation\Queue\Queueable;
|
|
|
|
class NotifyImportComplete implements ShouldQueue
|
|
{
|
|
use Queueable;
|
|
|
|
/**
|
|
* Create a new job instance.
|
|
*/
|
|
public function __construct(private readonly string $recipientEmail)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Execute the job.
|
|
*/
|
|
public function handle(): void
|
|
{
|
|
ImportCompleted::dispatch($this->recipientEmail);
|
|
}
|
|
}
|
|
|