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

+20
View File
@@ -0,0 +1,20 @@
<?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;
}
}