Documentation

CallQueuedHandler
in package

Table of Contents

$container  : Container
The container instance.
__construct()  : void
Create a new job instance.
call()  : void
Handle the queued job.
failed()  : void
Call the failed method on the job instance.
setJobInstanceIfNecessary()  : mixed
Set the job instance of the given class if necessary.

Properties

Methods

call()

Handle the queued job.

public call(Job $job, array<string|int, mixed> $data) : void
Parameters
$job : Job
$data : array<string|int, mixed>
Return values
void

failed()

Call the failed method on the job instance.

public failed(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>
Return values
void

setJobInstanceIfNecessary()

Set the job instance of the given class if necessary.

protected setJobInstanceIfNecessary(Job $job, mixed $instance) : mixed
Parameters
$job : Job
$instance : mixed
Return values
mixed

Search results