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

Afficher le fichier Open project: ezsystems/ezpublish-kernel Interface Usage Examples

Méthodes publiques

Méthode Description
match ( SimplifiedRequest $request ) : SiteAccess Performs SiteAccess matching given the $request.
matchByName ( string $siteAccessName ) : SiteAccess Matches a SiteAccess by name.

Method Details

match() public méthode

Performs SiteAccess matching given the $request.
public match ( SimplifiedRequest $request ) : SiteAccess
$request eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest
Résultat eZ\Publish\Core\MVC\Symfony\SiteAccess

matchByName() public méthode

Returns corresponding SiteAccess object, according to configuration, with corresponding matcher. If no matcher can be found (e.g. non versatile), matcher property will be "default".
public matchByName ( string $siteAccessName ) : SiteAccess
$siteAccessName string
Résultat eZ\Publish\Core\MVC\Symfony\SiteAccess