Closed
Description
In this documentation: https://symfony.com/doc/current/session/locale_sticky_session.html
The // src/EventSubscriber/UserLocaleSubscriber.php example seems to be missing the implementation of the getSubscribedEvents() method ?
Shouldn't it be be something like this ?:
public static function getSubscribedEvents() { return array( SecurityEvents::INTERACTIVE_LOGIN => 'onInteractiveLogin', ); }
Or maybe the service register is not pointing to the right namespace ?
services: App\EventListener\UserLocaleListener: tags: - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin, priority: 15 }
Metadata
Metadata
Assignees
Labels
No labels