protected function userLoginFinalize(UserInterface
$user) { user_login_finalize($user);
} /**
* Logs out a user.
*
* @return \Symfony\Component\HttpFoundation\Response
* The response object.
*/
public function logout() { $this->
userLogout();
return new Response(NULL, 204
);
} /**
* Logs the user out.
*/
protected function userLogout() { user_logout();
} /**
* Checks whether a user is logged in or not.
*
* @return \Symfony\Component\HttpFoundation\Response
* The response.
*/