aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-10-16 07:40:09 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-10-16 07:40:09 +0200
commit2aac2f278f1ca63f2097f80ddbdb924dea9ec59e (patch)
treecc09f37927d4a7ffbf576f636db0d36015190b08 /src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php
parentc89d35e851d26b78f89bd7ece5e3eaa109c8cac0 (diff)
downloadwallabag-2aac2f278f1ca63f2097f80ddbdb924dea9ec59e.tar.gz
wallabag-2aac2f278f1ca63f2097f80ddbdb924dea9ec59e.tar.zst
wallabag-2aac2f278f1ca63f2097f80ddbdb924dea9ec59e.zip
Add tests on listeners
Diffstat (limited to 'src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php')
-rw-r--r--src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php b/src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php
index 97bfabc8..82d1a63a 100644
--- a/src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php
+++ b/src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php
@@ -8,6 +8,8 @@ use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
8/** 8/**
9 * Stores the locale of the user in the session after the 9 * Stores the locale of the user in the session after the
10 * login. This can be used by the LocaleListener afterwards. 10 * login. This can be used by the LocaleListener afterwards.
11 *
12 * @see http://symfony.com/doc/master/cookbook/session/locale_sticky_session.html
11 */ 13 */
12class UserLocaleListener 14class UserLocaleListener
13{ 15{