www.gusucode.com > KPPW众包威客PHP开源建站系统 v3.0源码程序 > KPPW/vendor/laravel/framework/src/Illuminate/Queue/Console/FlushFailedCommand.php
<?php namespace Illuminate\Queue\Console; use Illuminate\Console\Command; class FlushFailedCommand extends Command { /** * The console command name. * * @var string */ protected $name = 'queue:flush'; /** * The console command description. * * @var string */ protected $description = 'Flush all of the failed queue jobs'; /** * Execute the console command. * * @return void */ public function fire() { $this->laravel['queue.failer']->flush(); $this->info('All failed jobs deleted successfully!'); } }