Page MenuHomePhorge

ImportCommand.php
No OneTemporary

Authored By
Unknown
Size
919 B
Referenced Files
None
Subscribers
None

ImportCommand.php

<?php
namespace App\Console\Commands\Data;
use Illuminate\Console\Command;
class ImportCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'data:import';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$commands = [
Import\CountriesCommand::class,
Import\OpenExchangeRatesCommand::class,
Import\IP4NetsCommand::class,
Import\IP6NetsCommand::class,
];
foreach ($commands as $command) {
$execution = new $command();
$execution->output = $this->output;
$execution->handle();
}
return 0;
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Apr 24, 1:07 PM (1 w, 2 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
95/03/76121c4aba6da1d87c5157390721
Default Alt Text
ImportCommand.php (919 B)

Event Timeline