testing
This commit is contained in:
@@ -3,12 +3,8 @@
|
|||||||
namespace App\Console\Commands;
|
namespace App\Console\Commands;
|
||||||
|
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use DB;
|
|
||||||
use Log;
|
use Log;
|
||||||
|
|
||||||
//Job
|
|
||||||
use App\Jobs\ProcessStructureJob;
|
|
||||||
|
|
||||||
//Library
|
//Library
|
||||||
use App\Library\Structures\StructureHelper;
|
use App\Library\Structures\StructureHelper;
|
||||||
use App\Library\Esi\Esi;
|
use App\Library\Esi\Esi;
|
||||||
@@ -18,6 +14,9 @@ use Seat\Eseye\Containers\EsiAuthentication;
|
|||||||
use Seat\Eseye\Eseye;
|
use Seat\Eseye\Eseye;
|
||||||
use Commands\Library\CommandHelper;
|
use Commands\Library\CommandHelper;
|
||||||
|
|
||||||
|
//Job
|
||||||
|
use App\Jobs\ProcessStructureJob;
|
||||||
|
|
||||||
//Models
|
//Models
|
||||||
use App\Models\Jobs\JobProcessStructure;
|
use App\Models\Jobs\JobProcessStructure;
|
||||||
use App\Models\Esi\EsiScope;
|
use App\Models\Esi\EsiScope;
|
||||||
@@ -124,7 +123,6 @@ class GetStructuresCommand extends Command
|
|||||||
$totalPages = $structures->pages;
|
$totalPages = $structures->pages;
|
||||||
}
|
}
|
||||||
|
|
||||||
dd($structures);
|
|
||||||
//For each structure we retrieve dispatch a job to process it.
|
//For each structure we retrieve dispatch a job to process it.
|
||||||
foreach($structures as $structure) {
|
foreach($structures as $structure) {
|
||||||
$job = new JobProcessStructure;
|
$job = new JobProcessStructure;
|
||||||
|
|||||||
Reference in New Issue
Block a user