EscolaLMS/Consultations

View on GitHub
src/Events/ReminderTrainerAboutTerm.php

Summary

Maintainability
A
0 mins
Test Coverage
D
60%
<?php

namespace EscolaLms\Consultations\Events;

use EscolaLms\Consultations\Models\ConsultationUserPivot;
use EscolaLms\Consultations\Models\ConsultationUserTerm;
use EscolaLms\Core\Models\User;

class ReminderTrainerAboutTerm extends ConsultationTerm
{
    private string $status;

    public function __construct(User $user, ConsultationUserPivot $consultationTerm, string $status, ?ConsultationUserTerm $consultationUserTerm = null)
    {
        parent::__construct($user, $consultationTerm, $consultationUserTerm);
        $this->status = $status;
    }

    public function getStatus()
    {
        return $this->status;
    }
}