| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class SendActivationMailListener implements EventSubscriberInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var MailerInterface |
||
| 25 | */ |
||
| 26 | private $mailer; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var TokenFactoryInterface |
||
| 30 | */ |
||
| 31 | private $tokenFactory; |
||
| 32 | |||
| 33 | public function __construct(MailerInterface $mailer, TokenFactoryInterface $tokenFactory) |
||
| 37 | } |
||
| 38 | |||
| 39 | public static function getSubscribedEvents(): array |
||
| 42 | } |
||
| 43 | |||
| 44 | public function onUserCreated(UserEvent $event): void |
||
| 55 |