Method | Description | |
---|---|---|
__construct ( array $siteAccessesConfiguration ) | Constructor. | |
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 ( ) | ||
reverseMatch ( $siteAccessName ) | ||
setRequest ( |
Injects the request object to match against. |
public __construct ( array $siteAccessesConfiguration ) | ||
$siteAccessesConfiguration | array | SiteAccesses configuration. |
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 setRequest ( |
||
$request |