UserCurrencyLoginListener
class UserCurrencyLoginListener implements EventSubscriberInterface
Class UserCurrencyLoginListener. Listener responsible for setting currency when user log in
Properties
| protected RequestStack | $requestStack | ||
| protected TokenStorage | $tokenStorage |
Methods
__construct(TokenStorage $tokenStorage, RequestStack $requestStack)
UserCurrencyLoginListener constructor.
static
getSubscribedEvents()
{@inheritdoc}
onLogin(Event $event)
When user logs in get his pricelist and set currency params to session
Details
at line 35
__construct(TokenStorage $tokenStorage, RequestStack $requestStack)
UserCurrencyLoginListener constructor.
at line 44
static
getSubscribedEvents()
{@inheritdoc}
at line 55
onLogin(Event $event)
When user logs in get his pricelist and set currency params to session