Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Commands/Data/Import/IP4NetsCommand.php
Show All 16 Lines | class IP4NetsCommand extends Command | ||||
/** | /** | ||||
* The console command description. | * The console command description. | ||||
* | * | ||||
* @var string | * @var string | ||||
*/ | */ | ||||
protected $description = 'Update IP4 Networks'; | protected $description = 'Update IP4 Networks'; | ||||
/** | /** | ||||
* Create a new command instance. | |||||
* | |||||
* @return void | |||||
*/ | |||||
public function __construct() | |||||
{ | |||||
parent::__construct(); | |||||
} | |||||
/** | |||||
* Execute the console command. | * Execute the console command. | ||||
* | * | ||||
* @return int | * @return int | ||||
*/ | */ | ||||
public function handle() | public function handle() | ||||
{ | { | ||||
$rirs = [ | $rirs = [ | ||||
'afrinic' => 'http://ftp.afrinic.net/stats/afrinic/delegated-afrinic-latest', | 'afrinic' => 'http://ftp.afrinic.net/stats/afrinic/delegated-afrinic-latest', | ||||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |