for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Laravel Lodash package.
*
* (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Longman\LaravelLodash\Commands;
use Illuminate\Console\Command;
class ClearAllCommand extends Command
{
/**
* The name and signature of the console command.
* @var string
protected $signature = 'clear-all';
* The console command description.
protected $description = 'Resets all of compiled class files, cached views, cached configs etc.';
* Execute the console command.
* @return mixed
public function handle()
$this->call('clear-compiled');
$this->call('cache:clear');
$this->call('config:clear');
$this->call('route:clear');
$this->call('view:clear');
}