feat: rework automatic job profile assignment

This commit is contained in:
Björn Fromme committed 2024-11-26 16:46:29 +01:00
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;
}
}