Свойство | Type | Description | |
---|---|---|---|
$key | string | String that will be looked up in the map. | |
$map | array | Map used for the matching. | |
$request | |||
$reverseMap | array | Map used for reverse matching. |
Méthode | Description | |
---|---|---|
__construct ( array $map ) | Constructor. | |
__sleep ( ) : array | Do not serialize the Siteaccess configuration in order to reduce ESI request URL size. | |
getMapKey ( ) : string | ||
getRequest ( ) | ||
match ( ) : string | false | Returns matching Siteaccess. | |
reverseMatch ( string $siteAccessName ) : eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher | |
||
setMapKey ( string $key ) | Injects the key that will be used for matching against the map configuration. | |
setRequest ( |
Méthode | Description | |
---|---|---|
getReverseMap ( $defaultSiteAccess ) |
public __construct ( array $map ) | ||
$map | array | Map used for matching. |
public reverseMatch ( string $siteAccessName ) : eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher | |
||
$siteAccessName | string | |
Résultat | eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher | |
public setRequest ( |
||
$request |
protected string $key | ||
Résultat | string |
protected SimplifiedRequest,eZ\Publish\Core\MVC\Symfony\Routing $request | ||
Résultat |
protected array $reverseMap | ||
Résultat | array |