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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Security/Http/Logout/LogoutSuccessHandlerInterface.html