W3cubDocs

/Laravel 4.2

FailedJobProviderInterface

interface FailedJobProviderInterface (View source)

Methods

void log(string $connection, string $queue, string $payload)

Log a failed job into storage.

array all()

Get a list of all of the failed jobs.

array find(mixed $id)

Get a single failed job.

bool forget(mixed $id)

Delete a single failed job from storage.

void flush()

Flush all of the failed jobs from storage.

Details

void log(string $connection, string $queue, string $payload)

Log a failed job into storage.

Parameters

string $connection
string $queue
string $payload

Return Value

void

array all()

Get a list of all of the failed jobs.

Return Value

array

array find(mixed $id)

Get a single failed job.

Parameters

mixed $id

Return Value

array

bool forget(mixed $id)

Delete a single failed job from storage.

Parameters

mixed $id

Return Value

bool

void flush()

Flush all of the failed jobs from storage.

Return Value

void

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