SendQueuedMailable
in package
Table of Contents
- $mailable : Mailable
- The mailable message instance.
- $timeout : int
- The number of seconds the job can run before timing out.
- $tries : int
- The number of times the job may be attempted.
- __clone() : void
- Prepare the instance for cloning.
- __construct() : void
- Create a new job instance.
- displayName() : string
- Get the display name for the queued job.
- failed() : void
- Call the failed method on the mailable instance.
- handle() : void
- Handle the queued job.
Properties
$mailable
The mailable message instance.
public
Mailable
$mailable
$timeout
The number of seconds the job can run before timing out.
public
int
$timeout
$tries
The number of times the job may be attempted.
public
int
$tries
Methods
__clone()
Prepare the instance for cloning.
public
__clone() : void
Return values
void —__construct()
Create a new job instance.
public
__construct(Mailable $mailable) : void
Parameters
- $mailable : Mailable
Return values
void —displayName()
Get the display name for the queued job.
public
displayName() : string
Return values
string —failed()
Call the failed method on the mailable instance.
public
failed(Exception $e) : void
Parameters
- $e : Exception
Return values
void —handle()
Handle the queued job.
public
handle(Mailer $mailer) : void
Parameters
- $mailer : Mailer