class DatabaseFailedJobProvider implements FailedJobProviderInterface (View source)

Methods

void
__construct( ConnectionResolverInterface $resolver, string $database, string $table)

Create a new database failed job provider.

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

at line line 39
void __construct( ConnectionResolverInterface $resolver, string $database, string $table)

Create a new database failed job provider.

Parameters

ConnectionResolverInterface $resolver
string $database
string $table

Return Value

void

at line line 54
void log( string $connection, string $queue, string $payload)

Log a failed job into storage.

Parameters

string $connection
string $queue
string $payload

Return Value

void

at line line 66
array all()

Get a list of all of the failed jobs.

Return Value

array

at line line 77
array find( mixed $id)

Get a single failed job.

Parameters

mixed $id

Return Value

array

at line line 88
bool forget( mixed $id)

Delete a single failed job from storage.

Parameters

mixed $id

Return Value

bool

at line line 98
void flush()

Flush all of the failed jobs from storage.

Return Value

void