| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | readonly class CustomLogoutListener implements EventSubscriberInterface |
||
| 13 | { |
||
| 14 | public static function getSubscribedEvents(): array |
||
| 15 | { |
||
| 16 | return [ |
||
| 17 | LogoutEvent::class => 'onLogout', |
||
| 18 | ]; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function __construct( |
||
| 25 | } |
||
| 26 | public function onLogout(): RedirectResponse |
||
| 32 | } |
||
| 33 | } |
||
| 34 |