interface ClearableQueue (View source)

Methods

int
clear(string $queue)

Delete all of the jobs from the queue.

Details

int clear(string $queue)

Delete all of the jobs from the queue.

Parameters

string $queue

Return Value

int

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.