Class

eZ\Publish\Core\MVC\Symfony\Event\PostSiteAccessMatchEvent

class PostSiteAccessMatchEvent extends Event

This event is triggered after SiteAccess matching process and allows further control on it and the associated request.

Methods

__construct(SiteAccess $siteAccess, Request $request, $requestType)

Request getRequest()

SiteAccess getSiteAccess()

Returns matched SiteAccess instance.

int getRequestType()

Returns the request type the kernel is currently processing.

Details

at line 38
public __construct(SiteAccess $siteAccess, Request $request, $requestType)

Parameters

SiteAccess $siteAccess
Request $request
$requestType

at line 48
public Request getRequest()

Return Value

Request

at line 58
public SiteAccess getSiteAccess()

Returns matched SiteAccess instance.

Return Value

SiteAccess

at line 69
public int getRequestType()

Returns the request type the kernel is currently processing.

Return Value

int One of HttpKernelInterface::MASTERREQUEST and HttpKernelInterface::SUBREQUEST