Class

eZ\Bundle\EzPublishCoreBundle\SiteAccess\MatcherBuilder

class MatcherBuilder extends MatcherBuilder

Siteaccess matcher builder based on services.

Methods

Matcher buildMatcher($matchingClass $matchingClass, $matchingConfiguration $matchingConfiguration, SimplifiedRequest $request)

Builds siteaccess matcher.

__construct(ContainerInterface $container)

Details

at line 43
public Matcher buildMatcher($matchingClass $matchingClass, $matchingConfiguration $matchingConfiguration, SimplifiedRequest $request)

Builds siteaccess matcher.

If $matchingClass begins with "@", it will be considered as a service identifier and loaded with the service container.

Parameters

$matchingClass $matchingClass
$matchingConfiguration $matchingConfiguration Configuration to pass to the matcher. Can be anything the matcher supports.
SimplifiedRequest $request The request to match against.

Return Value

Matcher

Exceptions

RuntimeException

at line 26
public __construct(ContainerInterface $container)

Parameters

ContainerInterface $container