Files
myep-team/src/Event/LicenseDeletedEvent.php
T
2025-08-21 14:20:43 +02:00

21 lines
352 B
PHP

<?php
namespace App\Event;
use App\Entity\License;
use Symfony\Contracts\EventDispatcher\Event;
class LicenseDeletedEvent extends Event
{
public const NAME = 'license.deleted';
public function __construct(private readonly License $license)
{
}
public function getLicense(): License
{
return $this->license;
}
}