added new namespaces for all of the commands

This commit is contained in:
2020-05-09 08:59:01 -05:00
parent 09e56371e6
commit cf00909444
18 changed files with 105 additions and 33 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Assets;
use Illuminate\Console\Command;
use DB;
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Corps;
//Internal Library
use Illuminate\Console\Command;
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Data;
//Internal Library
use Illuminate\Console\Command;
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Data;
//Internal Library
use Illuminate\Console\Command;
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Files;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Storage;
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Finances;
use Illuminate\Console\Command;
use Log;
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Finances;
use Illuminate\Console\Command;
use Log;
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Flex;
//Internal Library
use Illuminate\Console\Command;
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Moons;
use Illuminate\Console\Command;
@@ -11,7 +11,7 @@ class FetchMoonLedgerCommand extends Command
*
* @var string
*/
protected $signature = 'command:name';
protected $signature = 'services:FetchMoonLedgers';
/**
* The console command description.
@@ -0,0 +1,54 @@
<?php
namespace App\Console\Commands\Moons;
use Illuminate\Console\Command;
class FetchMoonObserversCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'services:FetchMoonObservers';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Fetch Moon Observers';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
//Create the command helper container
$task = new CommandHelper('FetchMoonObservers');
//Add the entry into the jobs table saying the job has started
$task->SetStartStatus();
//Declare some variables
$lookup = new LookupHelper;
$esi = new Esi;
//Get the configuration from the main site
$config = config('esi');
}
}
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Moons;
//Internal Library
use Illuminate\Console\Command;
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Moons;
//Internal Library
use Illuminate\Console\Command;
@@ -15,7 +15,7 @@ use App\Library\Esi\Esi;
use App\Models\Moon\RentalMoon;
use App\Models\Moon\RentalMoonObserver;
class FetchRentalMoonObservers extends Command
class FetchRentalMoonObserversCommand extends Command
{
/**
* The name and signature of the console command.
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Moons;
use Illuminate\Console\Command;
use Carbon\Carbon;
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Moons;
use Illuminate\Console\Command;
use Carbon\Carbon;
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Structures;
use Illuminate\Console\Command;
use Log;
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Users;
//Internal Library
use Illuminate\Console\Command;
@@ -1,6 +1,6 @@
<?php
namespace App\Console\Commands;
namespace App\Console\Commands\Wormholes;
//Internal Library
use Illuminate\Console\Command;