W3cubDocs

/Symfony 4.1

LogoutSuccessHandlerInterface

interface LogoutSuccessHandlerInterface

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.

Methods

Response onLogoutSuccess(Request $request)

Creates a Response object to send upon a successful logout.

Details

Response onLogoutSuccess(Request $request)

Creates a Response object to send upon a successful logout.

Parameters

Request $request

Return Value

Response never null