for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Hayrullah\Helpers\Commands;
use Illuminate\Console\Command;
class ClearCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'hyr:clear-all';
* The console command description.
protected $description = 'Clear Command for Clear All of cache, view, route config';
* Create a new command instance.
* @return void
public function __construct()
parent::__construct();
}
* Execute the console command.
* @return mixed
public function handle()
$this->call('cache:clear');
$this->call('config:clear');
$this->call('event:clear');
$this->call('route:clear');
$this->call('view:clear');