| 1 | <?php namespace Arcanedev\LogViewer\Commands; |
||
| 9 | class ClearCommand extends Command |
||
| 10 | { |
||
| 11 | /* ----------------------------------------------------------------- |
||
| 12 | | Properties |
||
| 13 | | ----------------------------------------------------------------- |
||
| 14 | */ |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The name and signature of the console command. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $signature = 'log-viewer:clear'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The console command description. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $description = 'Clear all generated log files'; |
||
| 29 | |||
| 30 | /* ----------------------------------------------------------------- |
||
| 31 | | Main Methods |
||
| 32 | | ----------------------------------------------------------------- |
||
| 33 | */ |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Execute the console command. |
||
| 37 | */ |
||
| 38 | 3 | public function handle() |
|
| 45 | } |
||
| 46 |