feat: rework automatic job profile assignment
This commit is contained in:
1 parent
d52cdfca85
commit
97d658e71a
11 files changed
+220
-68
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Event;
|
||||
|
||||
use App\Entity\TrainingAttendance;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
class TrainingAttendanceDeletedEvent extends Event
|
||||
{
|
||||
public const NAME = 'training_attendance.deleted';
|
||||
|
||||
public function __construct(private readonly TrainingAttendance $trainingAttendance)
|
||||
{
|
||||
}
|
||||
|
||||
public function getTrainingAttendance(): TrainingAttendance
|
||||
{
|
||||
return $this->trainingAttendance;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user