1 | <?php |
||
11 | class LogClear extends Command |
||
12 | { |
||
13 | use ConfirmableTrait; |
||
14 | |||
15 | /** |
||
16 | * The name and signature of the console command. |
||
17 | * |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $signature = 'log:clear {--force : Force the operation to run when in production.}'; |
||
21 | |||
22 | /** |
||
23 | * The console command description. |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $description = 'Clear log files'; |
||
28 | |||
29 | /** |
||
30 | * Execute the console command. |
||
31 | * |
||
32 | * @param \Illuminate\Filesystem\Filesystem $filesystem |
||
33 | * @return mixed |
||
34 | */ |
||
35 | public function handle(Filesystem $filesystem): void |
||
61 | } |
||
62 |