2019-07-19 09:56:20 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
|
|
2022-06-09 11:12:28 -04:00
|
|
|
use Illuminate\Contracts\Cache\Repository as Cache;
|
2019-07-19 09:56:20 -04:00
|
|
|
use Illuminate\Queue\Console\RestartCommand as BaseRestartCommand;
|
|
|
|
|
|
|
|
|
|
class RestartCommand extends BaseRestartCommand
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The console command name.
|
|
|
|
|
*
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
protected $signature = 'queue:restart';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This contains the necessary code to add parameters.
|
|
|
|
|
*/
|
|
|
|
|
use AddParametersTrait;
|
2022-06-09 11:12:28 -04:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create a new queue restart command.
|
|
|
|
|
*
|
|
|
|
|
* @param Cache $cache
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function __construct(Cache $cache)
|
|
|
|
|
{
|
|
|
|
|
parent::__construct($cache);
|
|
|
|
|
}
|
2019-07-19 09:56:20 -04:00
|
|
|
}
|