X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FEventListener%2FLocaleListener.php;h=05deac0accc877d3f1ed50fc346e9399303220bd;hb=86719c63bf47686ca55020e6b0443344de36d45a;hp=7179531618f3103bd1f2dd59fda4ca6ae2bc1fb4;hpb=c89d35e851d26b78f89bd7ece5e3eaa109c8cac0;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/EventListener/LocaleListener.php b/src/Wallabag/CoreBundle/EventListener/LocaleListener.php index 71795316..05deac0a 100644 --- a/src/Wallabag/CoreBundle/EventListener/LocaleListener.php +++ b/src/Wallabag/CoreBundle/EventListener/LocaleListener.php @@ -2,10 +2,13 @@ namespace Wallabag\CoreBundle\EventListener; +use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\HttpKernel\KernelEvents; -use Symfony\Component\EventDispatcher\EventSubscriberInterface; +/** + * @see http://symfony.com/doc/current/cookbook/session/locale_sticky_session.html + */ class LocaleListener implements EventSubscriberInterface { private $defaultLocale;