| 1 | <?php  | 
            ||
| 25 | final class UserLocaleSubscriber implements EventSubscriberInterface  | 
            ||
| 26 | { | 
            ||
| 27 | /**  | 
            ||
| 28 | * @var SessionInterface  | 
            ||
| 29 | */  | 
            ||
| 30 | private $session;  | 
            ||
| 31 | |||
| 32 | /**  | 
            ||
| 33 | * @param SessionInterface $session  | 
            ||
| 34 | */  | 
            ||
| 35 | public function __construct(SessionInterface $session)  | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * @param InteractiveLoginEvent $event  | 
            ||
| 42 | */  | 
            ||
| 43 | public function onInteractiveLogin(InteractiveLoginEvent $event)  | 
            ||
| 51 | |||
| 52 | /**  | 
            ||
| 53 | * @return array  | 
            ||
| 54 | */  | 
            ||
| 55 | public static function getSubscribedEvents()  | 
            ||
| 61 | }  | 
            ||
| 62 |