W3cubDocs

/Laravel 8

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/8.x/Illuminate/Contracts/Queue/ClearableQueue.html