CallQueuedHandler
class CallQueuedHandler (View source)
Properties
protected Container | $container | The container instance. |
Methods
void | __construct(Container $container) Create a new job instance. | |
void | call(Job $job, array $data) Handle the queued job. | |
mixed | setJobInstanceIfNecessary(Job $job, mixed $instance) Set the job instance of the given class if necessary. | |
void | failed(array $data, Exception $e) Call the failed method on the job instance. |
Details
void __construct(Container $container)
Create a new job instance.
void call(Job $job, array $data)
Handle the queued job.
protected mixed setJobInstanceIfNecessary(Job $job, mixed $instance)
Set the job instance of the given class if necessary.
void failed(array $data, Exception $e)
Call the failed method on the job instance.
The event instance and the exception will be passed.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Events/CallQueuedHandler.html