1 | <?php |
||
26 | final class ContextInvalidationLogoutHandler implements LogoutHandlerInterface |
||
27 | { |
||
28 | private $invalidator; |
||
29 | |||
30 | public function __construct(UserContextInvalidator $invalidator) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function logout(Request $request, Response $response, TokenInterface $token) |
||
43 | } |
||
44 |
If you suppress an error, we recommend checking for the error condition explicitly: