class
Illuminate
/
Queue
/
Console
/
RestartCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
RestartCommand
Extends
Uses
Properties
protected
$name string
The console command name.
Default: 'queue:restart'
protected
$description string
The console command description.
Default: 'Restart queue worker daemons after their current job'
Methods
public
__construct ( Repository $cache ) : void
Create a new queue restart command.
Parameters
- $cache Repository
public
handle ( ) : void
Execute the console command.