1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace Symfony\Component\Security\Http\Logout;
- use Symfony\Component\HttpFoundation\Request;
- use Symfony\Component\HttpFoundation\Response;
- use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
- class SessionLogoutHandler implements LogoutHandlerInterface
- {
-
- public function logout(Request $request, Response $response, TokenInterface $token)
- {
- $request->getSession()->invalidate();
- }
- }
|