class Illuminate / Queue / Console / ClearCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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.