Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class LogoutSuccessHandler implements LogoutSuccessHandlerInterface |
||
12 | { |
||
13 | private $router; |
||
14 | private $shibUaid; |
||
15 | |||
16 | public function __construct(RouterInterface $router, $shibUaid) |
||
17 | { |
||
18 | $this->router = $router; |
||
19 | $this->shibUaid = $shibUaid; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Creates a Response object to send upon a successful logout. |
||
24 | * |
||
25 | * @param Request $request |
||
26 | * @return Response never null |
||
27 | */ |
||
28 | public function onLogoutSuccess(Request $request) |
||
37 | } |
||
38 | } |
||
40 |