| Total Complexity | 6 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | class CreatePrivateKeyOnActivationSubscriber implements EventSubscriberInterface |
||
| 20 | { |
||
| 21 | private KeyGenerationService $keyGenerationService; |
||
| 22 | |||
| 23 | public function __construct(KeyGenerationService $keyGenerationService) |
||
| 24 | { |
||
| 25 | $this->keyGenerationService = $keyGenerationService; |
||
| 26 | } |
||
| 27 | |||
| 28 | public static function getSubscribedEvents(): array |
||
| 32 | ]; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function onPreUpdate(GenericEvent $event): void |
||
| 49 | } |
||
| 50 | } |
||
| 52 |