Files
w4rpservices/app/Console/Commands/Market/PurgeMarketDataCommand.php
drkthunder02 5b959f9d6a modified the get market data command
created the purge market data command
modified the public contracts command
2020-05-15 03:53:22 -05:00

51 lines
889 B
PHP

<?php
namespace App\Console\Commands;
//Internal Library
use Illuminate\Console\Command;
use Log;
//Library
use Commands\Library\CommandHelper;
//Jobs
use App\Jobs\Commands\Market\PurgeMarketRegionOrderJob;
class PurgeMarketDataCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'services:PurgeMarketData';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Purges old market data from the database';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
PurgeMarketDataJob::dispatch();
}
}