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

Public Member Functions | List of all members
eZ\Publish\Core\MVC\Symfony\Matcher\MatcherFactoryInterface Interface Reference
Inheritance diagram for eZ\Publish\Core\MVC\Symfony\Matcher\MatcherFactoryInterface:

## Public Member Functions
| match (View $view)
| Checks if $valueObject has a usable configuration for $viewType. More...

## Detailed Description

Definition at line 11 of file MatcherFactoryInterface.php.

## Member Function Documentation

## ◆ match()

eZ\Publish\Core\MVC\Symfony\Matcher\MatcherFactoryInterface::match | ( | View | $view | ) |

Checks if $valueObject has a usable configuration for $viewType.

If so, the configuration hash will be returned.

$valueObject can be for example a Location or a Content object.

Parameters

  \eZ\Publish\Core\MVC\Symfony\View\View | $view |

Returns
  array|null The matched configuration as a hash, containing template or controller to use, or null if not matched.

Implemented in eZ\Publish\Core\MVC\Symfony\Matcher\ClassNameMatcherFactory, and eZ\Publish\Core\MVC\Symfony\Matcher\AbstractMatcherFactory.

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

- MatcherFactoryInterface.php

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