Update instead of silent call, use normal command call to show all output

This commit is contained in:
Afiq Hamzah
2024-08-08 12:47:50 +08:00
parent 2c859ac3b5
commit c7aab85e24
+12 -11
View File
@@ -25,17 +25,18 @@ class ClearAllCaches extends Command
*/
public function handle()
{
$this->callSilent('config:clear');
$this->callSilent('cache:clear');
$this->callSilent('event:clear');
$this->callSilent('route:clear');
$this->callSilent('view:clear');
$this->callSilent('clear-compiled');
$this->callSilent('optimize:clear');
$this->callSilent('package:discover');
$this->callSilent('queue:clear');
$this->callSilent('schema:clear');
$this->call('config:clear');
$this->call('cache:clear');
$this->call('event:clear');
$this->call('route:clear');
$this->call('view:clear');
$this->call('clear-compiled');
$this->call('optimize:clear');
$this->call('package:discover');
$this->call('queue:clear');
$this->call('schema:clear');
$this->info("All caches have been cleared.");;
$this->info('All caches cleared.');
}
}