Method | Description | |
---|---|---|
__construct ( integer | array $elementNumber ) | Constructor. | |
__sleep ( ) | ||
analyseLink ( string $linkUri ) : string | Analyses $linkUri when generating a link to a route, in order to have the siteaccess part back in the URI. | |
analyseURI ( string $uri ) : string | Analyses $uri and removes the siteaccess part, if needed. | |
getName ( ) | ||
getRequest ( ) : |
||
match ( ) : string | false | Returns matching Siteaccess. | |
reverseMatch ( string $siteAccessName ) : |
Returns matcher object corresponding to $siteAccessName or null if non applicable. | |
setRequest ( |
Injects the request object to match against. |
Method | Description | |
---|---|---|
getURIElements ( ) : array | Returns URI elements as an array. |
public __construct ( integer | array $elementNumber ) | ||
$elementNumber | integer | array | Number of elements to take into account. |
public analyseLink ( string $linkUri ) : string | ||
$linkUri | string | |
return | string | The modified link URI |
public analyseURI ( string $uri ) : string | ||
$uri | string | The original URI |
return | string | The modified URI |
public getRequest ( ) : |
||
return |
protected getURIElements ( ) : array | ||
return | array |
public reverseMatch ( string $siteAccessName ) : |
||
$siteAccessName | string | |
return |
public setRequest ( |
||
$request |