<?php

namespace App\Console\Commands\V2;


use App\Classes\Jobs\Commands\V2\TestRunningALongQueryV2CommandJob;
use Illuminate\Console\Command;

class TestRunningALongQueryV2Command extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'test-running-long-query-s3-pdf-command';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'This is a test to run a long query that generates a pdf file to be uploaded to S3 bucket';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        TestRunningALongQueryV2CommandJob::dispatch();
    }
}
