Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Protected Member Functions | List of all members
eZ\Bundle\EzPublishCoreBundle\Matcher\ServiceAwareMatcherFactory Class Reference

A view matcher factory that also accepts services as matchers. More...

Inheritance diagram for eZ\Bundle\EzPublishCoreBundle\Matcher\ServiceAwareMatcherFactory:

## Protected Member Functions
| getMatcher ($matcherIdentifier)

## Additional Inherited Members
Public Member Functions inherited from eZ\Publish\Core\MVC\Symfony\Matcher\ClassNameMatcherFactory
| __construct (Repository $repository, $relativeNamespace=null, array $matchConfig=[])
| match (View $view)
| Checks if $valueObject has a usable configuration for $viewType. More...
| setMatchConfig ($matchConfig)
Protected Attributes inherited from eZ\Publish\Core\MVC\Symfony\Matcher\ClassNameMatcherFactory
| $repository
| $matchConfig
| $matchers = []
| $matcherRelativeNamespace
| $alreadyMatched = []

## Detailed Description

A view matcher factory that also accepts services as matchers.

If a service id is passed as the MatcherIdentifier, this service will be used for the matching. Otherwise, it will fallback to the class name based matcher factory.

Definition at line 19 of file ServiceAwareMatcherFactory.php.

## Member Function Documentation

## ◆ getMatcher()

eZ\Bundle\EzPublishCoreBundle\Matcher\ServiceAwareMatcherFactory::getMatcher | ( |  | $matcherIdentifier | ) |
| protected

Parameters

  string | $matcherIdentifier |

Returns
  \eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\MatcherInterface

Reimplemented from eZ\Publish\Core\MVC\Symfony\Matcher\ClassNameMatcherFactory.

Definition at line 28 of file ServiceAwareMatcherFactory.php.

The documentation for this class was generated from the following file:

- ServiceAwareMatcherFactory.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.