PHP Interface eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher

Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
getName ( ) : string Returns the matcher's name.
match ( ) : string | false Returns matched Siteaccess or false if no siteaccess could be matched.
setRequest ( SimplifiedRequest $request ) Injects the request object to match against.

Method Details

getName() public method

This information will be stored in the SiteAccess object itself to quickly be able to identify the matcher type.
public getName ( ) : string
return string

match() public method

Returns matched Siteaccess or false if no siteaccess could be matched.
public match ( ) : string | false
return string | false

setRequest() public method

Injects the request object to match against.
public setRequest ( SimplifiedRequest $request )
$request eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest