W3cubDocs

/Symfony 2.8

Symfony\Component\Security\Http\Logout\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

public Response onLogoutSuccess(Request $request)

Creates a Response object to send upon a successful logout.

Parameters

Request $request

Return Value

Response never null