CallQueuedHandler
class CallQueuedHandler
Properties
protected Container | $container | The container instance. |
Methods
void
mixed
setJobInstanceIfNecessary(Job $job, mixed $instance)
Set the job instance of the given class if necessary.
Details
at line 24
void
__construct(Container $container)
Create a new job instance.
at line 36
void
call(Job $job, array $data)
Handle the queued job.
at line 58
protected mixed
setJobInstanceIfNecessary(Job $job, mixed $instance)
Set the job instance of the given class if necessary.
at line 76
void
failed(array $data, Exception $e)
Call the failed method on the job instance.
The event instance and the exception will be passed.