namespace App\Console\Commands;

use Illuminate\Console\Command;

class ClearCache extends Command
{
    protected $signature = 'cache:clear-all';

    protected $description = 'Clears all types of cache';

    public function handle()
    {
        $this->call('cache:clear');
        $this->call('config:clear');
        $this->call('route:clear');
        $this->call('view:clear');
        $this->call('event:clear');
        $this->call('route:cache:clear');

        $this->info('Your system is now faster.');
    }
}
