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

45 lines
945 B
PHP

<?php
namespace App\Console\Commands\V2;
use App\Classes\Jobs\Commands\V2\TestExportExcelToS3BucketV2CommandJob;
use Illuminate\Console\Command;
class TestExportExcelToS3BucketV2Command extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'test-export-excel-to-s3-bucket-command';
/**
* The console command description.
*
* @var string
*/
protected $description = 'This is a test to export read some data from database and export the data into a downloadable .xls file in S3 bucket';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
TestExportExcelToS3BucketV2CommandJob::dispatch();
}
}