DatabaseJob::delete()

void delete() Delete the job from the queue. Return Value void

DatabaseJob::attempts()

int attempts() Get the number of times the job has been attempted. Return Value int

DatabaseJob

DatabaseJob class DatabaseJob extends Job implements Job (View source) Methods int attempts() Get the number of times the job has been attempted. string getRawBody() Get the raw body string for the job. void fire() Fire the job. from Job void delete() Delete the job from the queue. bool isDeleted() Determine if the job has been deleted. from Job void release(int $delay) Release the job back into the queue. bool isReleased() Determine if the job was released bac

DatabaseFailedJobProvider::__construct()

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

DatabaseFailedJobProvider::log()

int|null log(string $connection, string $queue, string $payload, Exception $exception) Log a failed job into storage. Parameters string $connection string $queue string $payload Exception $exception Return Value int|null

DatabaseFailedJobProvider::forget()

bool forget(mixed $id) Delete a single failed job from storage. Parameters mixed $id Return Value bool

DatabaseFailedJobProvider::flush()

void flush() Flush all of the failed jobs from storage. Return Value void

DatabaseFailedJobProvider::find()

array find(mixed $id) Get a single failed job. Parameters mixed $id Return Value array

DatabaseFailedJobProvider::all()

array all() Get a list of all of the failed jobs. Return Value array

DatabaseFailedJobProvider

DatabaseFailedJobProvider class DatabaseFailedJobProvider implements FailedJobProviderInterface (View source) Methods void __construct(ConnectionResolverInterface $resolver, string $database, string $table) Create a new database failed job provider. int|null log(string $connection, string $queue, string $payload, Exception $exception) 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 for