1 | <?php |
||
10 | final class LogoutController |
||
11 | { |
||
12 | private $securityContext; |
||
13 | private $router; |
||
14 | |||
15 | /** |
||
16 | * LogoutController constructor. |
||
17 | * |
||
18 | * @param SecurityContext $securityContext |
||
19 | * @param Router $router |
||
20 | */ |
||
21 | public function __construct(SecurityContext $securityContext, Router $router) |
||
26 | |||
27 | /** |
||
28 | * Logout user. |
||
29 | * |
||
30 | * @param Request $request |
||
31 | * |
||
32 | * @return RedirectResponse |
||
33 | */ |
||
34 | public function logoutAction(Request $request) |
||
41 | } |
||
42 |