Files
shipping-portal/app/Console/Commands/V2/TestReadDataFromYDAPIV2Command.php
T
2024-05-17 17:02:51 +08:00

45 lines
852 B
PHP

<?php
namespace App\Console\Commands\V2;
use App\Classes\Jobs\Commands\V2\TestReadDataFromYDAPIV2CommandJob;
use Illuminate\Console\Command;
class TestReadDataFromYDAPIV2Command extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'test-read-data-from-yd-api-command';
/**
* The console command description.
*
* @var string
*/
protected $description = 'This is a test to read data from YD API';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
TestReadDataFromYDAPIV2CommandJob::dispatch();
}
}