handle(GetResponseEvent $event)
Performs the logout if requested. If a CsrfTokenManagerInterface instance is available, it will be used to validate the request.
Parameters GetResponseEvent $event Exceptions LogoutException if the CSRF token is invalid RuntimeException if the LogoutSuccessHandlerInterface instance does not return a response