<?php

namespace App\Events;

use Illuminate\Http\Request;
use Mtc\Shop\Assessment\Assessment;

/**
 * Class AssessmentCreatedEvent
 *
 * Event triggered when an assessment is created
 *
 * @author Uldis Zvirbulis <uldis.zvirbulis@mtcmedia.co.uk
 * @version 08.11.2024
 */
class AssessmentCreatedEvent
{
    /**
     * @return Assessment
     */
    public function getAssessment(): Assessment
    {
        return $this->assessment;
    }

    /**
     * @return Request
     */
    public function getRequest(): Request
    {
        return $this->request;
    }

    /**
     * @param Assessment $assessment
     * @param Request $request
     */
    public function __construct(protected Assessment $assessment, protected Request $request)
    {
    }
}
