Aplikasi Keuangan yang mengatur lalu lintas transaksi antara bank dan aplikasi internal Kampus
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.
 
 
 
 
 

35 lines
733 B

<?php
namespace App\Domains\System\Jobs\Excel;
use App\Domains\System\Events\ExportCompleted;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Queue\Queueable;
class NotifyExportReady implements ShouldQueue
{
use Queueable;
/**
* Create a new job instance.
*/
public function __construct(
private readonly string $recipientEmail,
private readonly string $filePath,
private readonly string $downloadName,
) {
//
}
/**
* Execute the job.
*/
public function handle(): void
{
ExportCompleted::dispatch(
$this->recipientEmail,
$this->filePath,
$this->downloadName,
);
}
}