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