Files
shipping-portal/app/Console/Commands/V2/TestExportExcelToS3BucketCommand.php
T

45 lines
939 B
PHP

<?php
namespace App\Console\Commands\V2;
use App\Classes\Jobs\Commands\V2\TestExportExcelToS3BucketCommandJob;
use Illuminate\Console\Command;
class TestExportExcelToS3BucketCommand 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()
{
TestExportExcelToS3BucketCommandJob::dispatch();
}
}