1 | <?php |
||
27 | final class UserLocaleSubscriber implements EventSubscriberInterface |
||
28 | { |
||
29 | /** |
||
30 | * @var SessionInterface |
||
31 | */ |
||
32 | private $session; |
||
33 | |||
34 | /** |
||
35 | * @param SessionInterface $session |
||
36 | */ |
||
37 | public function __construct(SessionInterface $session) |
||
41 | |||
42 | /** |
||
43 | * @param InteractiveLoginEvent $event |
||
44 | */ |
||
45 | public function onInteractiveLogin(InteractiveLoginEvent $event): void |
||
53 | |||
54 | /** |
||
55 | * @return array |
||
56 | */ |
||
57 | public static function getSubscribedEvents() |
||
63 | } |
||
64 |