Property | Type | Description | |
---|---|---|---|
$logoutPath | |||
$securityContext | |||
$targetUrl |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\Security\SecurityContext $securityContext, string $logoutPath, string $targetUrl = '/' ) | Constructor | |
handle ( Symfony\Component\EventDispatcher\Event $event ) | ||
register ( |
Registers a core.security listener. |
public __construct ( Symfony\Component\Security\SecurityContext $securityContext, string $logoutPath, string $targetUrl = '/' ) | ||
$securityContext | Symfony\Component\Security\SecurityContext | |
$logoutPath | string | The path that starts the logout process |
$targetUrl | string | The URL to redirect to after logout |
public handle ( Symfony\Component\EventDispatcher\Event $event ) | ||
$event | Symfony\Component\EventDispatcher\Event | An Event instance |