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

21 lines
348 B
PHP

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