$usernameToken = unserialize($request->getSession()->get('_security_main'));
$user = $usernameToken->getUser();

  

04-16 08:48