class Illuminate / Queue / Console / ClearCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ClearCommand

Extends

Uses

Properties

protected

$name string

The console command name.

Default: 'queue:clear'
protected

$description string

The console command description.

Default: 'Delete all of the jobs from the specified queue'

Methods

public

handle ( ) : int|null

Execute the console command.

protected

getQueue ( $connection ) : string

Get the queue name to clear.

Parameters

  • $connection string
protected

getArguments ( ) : array

Get the console command arguments.

protected

getOptions ( ) : array

Get the console command options.