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 | Type | Description |
---|---|---|
$container | Illuminate\Contracts\Container\Container |
Illuminate\Contracts\Container\Container
|
Returns
void
public call (Illuminate\Contracts\Queue\Job $job, array $data) : void
Handle the queued job.
Parameters
Property | Type | Description |
---|---|---|
$job | Illuminate\Contracts\Queue\Job |
Illuminate\Contracts\Queue\Job
|
$data | array |
array
|
Returns
void
public failed (array $data) : void
Call the failed method on the job instance.
Parameters
Property | Type | Description |
---|---|---|
$data | array |
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 | Type | Description |
---|---|---|
$job | Illuminate\Contracts\Queue\Job |
Illuminate\Contracts\Queue\Job
|
$instance | mixed |
mixed
|
Returns
mixed
Copyright © 2024 Winter CMS