mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
28 lines
742 B
PHP
28 lines
742 B
PHP
<?php
|
|
|
|
namespace App\Classes\Jobs;
|
|
|
|
use App\Classes\Modules\Accounting\Processors\CreateBankStatementTransactionOwnersProcessor;
|
|
use Illuminate\Bus\Queueable;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Foundation\Bus\Dispatchable;
|
|
use Illuminate\Queue\InteractsWithQueue;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class CreateBankStatementTransactionOwners implements ShouldQueue
|
|
{
|
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
|
|
|
public function handle()
|
|
{
|
|
(App()->make(CreateBankStatementTransactionOwnersProcessor::class))->execute();
|
|
}
|
|
|
|
public function delay($delay)
|
|
{
|
|
// Add delay in seconds to the job
|
|
$this->delay = $delay;
|
|
return $this;
|
|
}
|
|
}
|