feat: assignment call off
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Event;
|
||||
|
||||
use App\Entity\Assignment;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
class AssignmentCalledOffEvent extends Event
|
||||
{
|
||||
public const NAME = 'assignment.called_off';
|
||||
|
||||
public function __construct(private readonly Assignment $assignment)
|
||||
{}
|
||||
|
||||
public function getAssignment(): Assignment
|
||||
{
|
||||
return $this->assignment;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user