Changeset View
Changeset View
Standalone View
Standalone View
src/app/Jobs/PaymentEmail.php
Show All 16 Lines | class PaymentEmail 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\Payment A payment object */ | /** @var \App\Payment A payment object */ | ||||
protected $payment; | protected $payment; | ||||
/** @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\Payment $payment A payment object | * @param \App\Payment $payment A payment object | ||||
* @param \App\User $controller A wallet controller | * @param \App\User $controller A wallet controller | ||||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |