/**
* @return void
*/
public function onKernelFinishRequest(FinishRequestEvent
$event) { if ($event->
isMainRequest()) { $this->logoutUrlGenerator->
setCurrentFirewall(null
);
} parent::
onKernelFinishRequest($event);
} public static function getSubscribedEvents(): array
{ return [ KernelEvents::REQUEST =>
[ ['configureLogoutUrlGenerator', 8
],
['onKernelRequest', 8
],
],
KernelEvents::FINISH_REQUEST => 'onKernelFinishRequest',
];
}