Files
myep-team/src/Event/LicenseDeletedEvent.php
T

20 lines
351 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;
}
}