1 | <?php |
||
17 | class SetEmailAsUsernameListener implements EventSubscriberInterface |
||
18 | { |
||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public static function getSubscribedEvents() |
||
28 | |||
29 | /** |
||
30 | * @param UserEvent $event |
||
31 | * |
||
32 | * @throws \Exception |
||
33 | */ |
||
34 | public function setEmailAsUsername(UserEvent $event) |
||
43 | } |
||
44 |