| 1 | <?php |
||
| 9 | class ClearBeanstalkdQueue extends Command |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The console command name. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $name = 'queue:beanstalkd:clear'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The console command description. |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $description = 'Clear a Beanstalkd queue, by deleting all pending jobs.'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Defines the arguments. |
||
| 27 | * |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function getArguments() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Execute the console command. |
||
| 39 | */ |
||
| 40 | public function fire() |
||
| 58 | } |
||
| 59 |