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

Inheritance: extends Symfony\Component\EventDispatcher\Event
显示文件 Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( SiteAccess $siteAccess, Request $request, $requestType )
getRequest ( ) : Request
getRequestType ( ) : integer Returns the request type the kernel is currently processing.
getSiteAccess ( ) : SiteAccess Returns matched SiteAccess instance.

Method Details

__construct() public method

public __construct ( SiteAccess $siteAccess, Request $request, $requestType )
$siteAccess eZ\Publish\Core\MVC\Symfony\SiteAccess
$request Symfony\Component\HttpFoundation\Request

getRequest() public method

public getRequest ( ) : Request
return Symfony\Component\HttpFoundation\Request

getRequestType() public method

Returns the request type the kernel is currently processing.
public getRequestType ( ) : integer
return integer One of HttpKernelInterface::MASTER_REQUEST and HttpKernelInterface::SUB_REQUEST

getSiteAccess() public method

Returns matched SiteAccess instance.
public getSiteAccess ( ) : SiteAccess
return eZ\Publish\Core\MVC\Symfony\SiteAccess