LogoutSuccessHandlerInterface
in
LogoutSuccesshandlerInterface.
In contrast to the LogoutHandlerInterface, this interface can return a response which is then used instead of the default behavior.
If you want to only perform some logout related clean-up task, use the LogoutHandlerInterface instead.
Tags
Table of Contents
- onLogoutSuccess() : Response
- Creates a Response object to send upon a successful logout.
Methods
onLogoutSuccess()
Creates a Response object to send upon a successful logout.
public
onLogoutSuccess(Request $request) : Response
Parameters
- $request : Request
Return values
Response —never null