| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class DoctrineExtensionSubscriber implements EventSubscriberInterface |
||
| 24 | { |
||
| 25 | 336 | public function __construct( |
|
| 26 | private BlameableListener $blameableListener, |
||
| 27 | private UserTypeIdentification $userTypeIdentification, |
||
| 28 | ) { |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | * |
||
| 34 | * @return array<string, string> |
||
| 35 | */ |
||
| 36 | 2 | public static function getSubscribedEvents(): array |
|
| 40 | ]; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @throws NonUniqueResultException |
||
| 45 | */ |
||
| 46 | 332 | public function onKernelRequest(): void |
|
| 52 | } |
||
| 53 | } |
||
| 55 |