PHP Class eZ\Publish\Core\MVC\Symfony\EventListener\SiteAccessMatchListener
Should be triggered as early as possible.
显示文件
Open project: ezsystems/ezpublish-kernel
Class Usage Examples
Protected Properties
Property |
Type |
Description |
|
$eventDispatcher |
Symfony\Component\EventDispatcher\EventDispatcherInterface |
|
|
$siteAccessRouter |
eZ\Publish\Core\MVC\Symfony\SiteAccess\Router |
|
|
Public Methods
Method |
Description |
|
__construct ( Router $siteAccessRouter, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, Symfony\Component\HttpFoundation\RequestMatcherInterface $userContextRequestMatcher ) |
|
|
getSubscribedEvents ( ) |
|
|
onKernelRequest ( GetResponseEvent $event ) |
|
|
Private Methods
Method Details
__construct()
public method
public __construct ( Router $siteAccessRouter, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, Symfony\Component\HttpFoundation\RequestMatcherInterface $userContextRequestMatcher ) |
$siteAccessRouter |
eZ\Publish\Core\MVC\Symfony\SiteAccess\Router |
|
$eventDispatcher |
Symfony\Component\EventDispatcher\EventDispatcherInterface |
|
$userContextRequestMatcher |
Symfony\Component\HttpFoundation\RequestMatcherInterface |
|
getSubscribedEvents()
public static method
onKernelRequest()
public method
public onKernelRequest ( GetResponseEvent $event ) |
$event |
Symfony\Component\HttpKernel\Event\GetResponseEvent |
|
Property Details
$eventDispatcher protected_oe property
protected EventDispatcherInterface,Symfony\Component\EventDispatcher $eventDispatcher |
return |
Symfony\Component\EventDispatcher\EventDispatcherInterface |
|
$siteAccessRouter protected_oe property
protected Router,eZ\Publish\Core\MVC\Symfony\SiteAccess $siteAccessRouter |
return |
eZ\Publish\Core\MVC\Symfony\SiteAccess\Router |
|