Allow overloading ContextListener::refreshUser()

This commit is contained in:
Lars Strojny 2014-04-27 11:03:19 +02:00
parent 9d0de5b57b
commit b67ed43d32

View File

@ -142,7 +142,7 @@ class ContextListener implements ListenerInterface
*
* @throws \RuntimeException
*/
private function refreshUser(TokenInterface $token)
protected function refreshUser(TokenInterface $token)
{
$user = $token->getUser();
if (!$user instanceof UserInterface) {