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.