Interface

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

interface Matcher

Interface for SiteAccess matchers.

Methods

setRequest(SimplifiedRequest $request)

Injects the request object to match against.

string|false match()

Returns matched Siteaccess or false if no siteaccess could be matched.

string getName()

Returns the matcher's name.

Details

at line 23
public setRequest(SimplifiedRequest $request)

Injects the request object to match against.

Parameters

SimplifiedRequest $request

at line 30
public string|false match()

Returns matched Siteaccess or false if no siteaccess could be matched.

Return Value

string|false

at line 38
public string getName()

Returns the matcher's name.

This information will be stored in the SiteAccess object itself to quickly be able to identify the matcher type.

Return Value

string