Changeset View
Changeset View
Standalone View
Standalone View
src/app/Jobs/PaymentMandateDisabledEmail.php
Show All 16 Lines | class PaymentMandateDisabledEmail implements ShouldQueue | ||||
use InteractsWithQueue; | use InteractsWithQueue; | ||||
use Queueable; | use Queueable; | ||||
use SerializesModels; | use SerializesModels; | ||||
/** @var int The number of times the job may be attempted. */ | /** @var int The number of times the job may be attempted. */ | ||||
public $tries = 2; | public $tries = 2; | ||||
/** @var int The number of seconds to wait before retrying the job. */ | /** @var int The number of seconds to wait before retrying the job. */ | ||||
public $retryAfter = 10; | public $backoff = 10; | ||||
/** @var bool Delete the job if the wallet no longer exist. */ | /** @var bool Delete the job if the wallet no longer exist. */ | ||||
public $deleteWhenMissingModels = true; | public $deleteWhenMissingModels = true; | ||||
/** @var \App\Wallet A wallet object */ | /** @var \App\Wallet A wallet object */ | ||||
protected $wallet; | protected $wallet; | ||||
/** @var \App\User A wallet controller */ | /** @var ?\App\User A wallet controller */ | ||||
protected $controller; | protected $controller; | ||||
/** | /** | ||||
* Create a new job instance. | * Create a new job instance. | ||||
* | * | ||||
* @param \App\Wallet $wallet A wallet object | * @param \App\Wallet $wallet A wallet object | ||||
* @param \App\User $controller An email recipient (wallet controller) | * @param \App\User $controller An email recipient (wallet controller) | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |