PHP Класс eZ\Publish\Core\MVC\Symfony\SiteAccess\MatcherBuilder

Наследование: implements eZ\Publish\Core\MVC\Symfony\SiteAccess\MatcherBuilderInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
buildMatcher ( string $matcherIdentifier, mixed $matchingConfiguration, SimplifiedRequest $request ) : eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher Builds siteaccess matcher.

Описание методов

buildMatcher() публичный Метод

In the siteaccess configuration, if the matcher class begins with a "\" (FQ class name), it will be used as is, passing the matching configuration in the constructor. Otherwise, given matching class will be relative to eZ\Publish\Core\MVC\Symfony\SiteAccess namespace.
public buildMatcher ( string $matcherIdentifier, mixed $matchingConfiguration, SimplifiedRequest $request ) : eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher
$matcherIdentifier string "Identifier" of the matcher to build (i.e. its FQ class name).
$matchingConfiguration mixed Configuration to pass to the matcher. Can be anything the matcher supports.
$request eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest The request to match against.
Результат eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher