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