class CookieClearingLogoutHandler implements LogoutHandlerInterface

This handler clears the passed cookies when a user logs out.

Methods

__construct(array $cookies)

No description

logout(Request $request, Response $response, TokenInterface $token)

Implementation for the LogoutHandlerInterface. Deletes all requested cookies.

Details

at line line 30
__construct(array $cookies)

Parameters

array $cookies An array of cookie names to unset

at line line 38
logout(Request $request, Response $response, TokenInterface $token)

Implementation for the LogoutHandlerInterface. Deletes all requested cookies.

Parameters

Request $request
Response $response
TokenInterface $token