PHP Класс Symfony\Component\HttpKernel\Security\Firewall\LogoutListener

Автор: Fabien Potencier ([email protected])
Наследование: implements Symfony\Component\HttpKernel\Security\Firewall\ListenerInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$logoutPath
$securityContext
$targetUrl

Открытые методы

Метод Описание
__construct ( Symfony\Component\Security\SecurityContext $securityContext, string $logoutPath, string $targetUrl = '/' ) Constructor
handle ( Symfony\Component\EventDispatcher\Event $event )
register ( EventDispatcher $dispatcher, integer $priority ) Registers a core.security listener.

Описание методов

__construct() публичный Метод

Constructor
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

handle() публичный Метод

public handle ( Symfony\Component\EventDispatcher\Event $event )
$event Symfony\Component\EventDispatcher\Event An Event instance

register() публичный Метод

Registers a core.security listener.
public register ( EventDispatcher $dispatcher, integer $priority )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcher An EventDispatcher instance
$priority integer The priority

Описание свойств

$logoutPath защищенное свойство

protected $logoutPath

$securityContext защищенное свойство

protected $securityContext

$targetUrl защищенное свойство

protected $targetUrl