FailingJob

class FailingJob (View source)

Methods

static void handle(string $connectionName, Job $job, Exception $e = null)

Delete the job, call the "failed" method, and raise the failed job event.

static Dispatcher events()

Get the event dispatcher instance.

Details

static void handle(string $connectionName, Job $job, Exception $e = null)

Delete the job, call the "failed" method, and raise the failed job event.

Parameters

string $connectionName
Job $job
Exception $e

Return Value

void

static protected Dispatcher events()

Get the event dispatcher instance.

Return Value

Dispatcher

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Queue/FailingJob.html