Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120834701
ImportCommand.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
919 B
Referenced Files
None
Subscribers
None
ImportCommand.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline