laravel / 10 / api / 10.x / illuminate / contracts / queue / clearablequeue.html

ClearableQueue

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Contracts/Queue/ClearableQueue.html