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 CacheCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'hyr:cache-all';
* The console command description.
protected $description = 'Cache command for cache all of 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('config:cache');
$this->call('event:cache');
$this->call('route:cache');
$this->call('view:cache');