<?php

namespace App\Console\Commands\V2;


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

class TestAttachingS3FileAndSendEmailV2Command extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'test-attach-s3-file-in-email-command';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'This is a test to attach a file from S3 bucket and trigger an email send';

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

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