CallQueuedHandler (Events)

CallQueuedHandler

class CallQueuedHandler (View source)

Methods

void __construct(Container $container)

Create a new job instance.

void call(Job $job, array $data)

Handle the queued job.

void failed(array $data, Exception $e)

Call the failed method on the job instance.

Details

void __construct(Container $container)

Create a new job instance.

Parameters

Container $container

Return Value

void

void call(Job $job, array $data)

Handle the queued job.

Parameters

Job $job
array $data

Return Value

void

void failed(array $data, Exception $e)

Call the failed method on the job instance.

The event instance and the exception will be passed.

Parameters

array $data
Exception $e

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Events/CallQueuedHandler.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部