created the command for get eve regions for artisan

This commit is contained in:
2020-05-15 02:57:51 -05:00
parent 32e17c30eb
commit d08e6f5f8f
@@ -0,0 +1,49 @@
<?php
namespace App\Console\Commands\Eve;
//Internal Library
use Illuminate\Console\Command;
//Library
use Commands\Library\CommandHelper;
//Job
use App\Jobs\Commands\Eve\GetEveRegionsJob;
class GetEveRegionsCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'eve:getRegions';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Gets all of the information for regions from the eve esi';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
GetEveRegionsJob::dispatch();
}
}