CallQueuedHandler

 class Winter\Storm\Events\CallQueuedHandler

Properties

protected $container : Illuminate\Contracts\Container\Container

The container instance.

Methods

public __construct (Illuminate\Contracts\Container\Container $container) : void

Create a new job instance.

Parameters
Property Description
$container
Illuminate\Contracts\Container\Container
Returns
void

public call (Illuminate\Contracts\Queue\Job $job, array $data) : void

Handle the queued job.

Parameters
Property Description
$job
Illuminate\Contracts\Queue\Job
$data
array
Returns
void

public failed (array $data) : void

Call the failed method on the job instance.

Parameters
Property Description
$data
array
Returns
void

protected setJobInstanceIfNecessary (Illuminate\Contracts\Queue\Job $job, mixed $instance) : mixed

Set the job instance of the given class if necessary.

Parameters
Property Description
$job
Illuminate\Contracts\Queue\Job
$instance
mixed
Returns
mixed
Copyright © 2024 Winter CMS