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\View\Builder\ViewBuilderRegistry Interface Reference

A simple registry of ViewBuilders that uses the ViewBuilder's match() method to identify the builder. More...

Inheritance diagram for eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilderRegistry:

## Public Member Functions
| getFromRegistry ($argument)
| Returns the ViewBuilder matching the argument. More...
| addToRegistry (array $objects)
| Adds ViewBuilders from the $objects array to the registry. More...

## Detailed Description

A simple registry of ViewBuilders that uses the ViewBuilder's match() method to identify the builder.

Definition at line 12 of file ViewBuilderRegistry.php.

## Member Function Documentation

## ◆ addToRegistry()

eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilderRegistry::addToRegistry | ( | array | $objects | ) |

Adds ViewBuilders from the $objects array to the registry.

Parameters

  \eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilder[] | $objects |

Implemented in eZ\Publish\Core\MVC\Symfony\View\Builder\Registry\ControllerMatch.

## ◆ getFromRegistry()

eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilderRegistry::getFromRegistry | ( |  | $argument | ) |

Returns the ViewBuilder matching the argument.

Parameters

  mixed | $argument |

Returns
  \eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilder|null The ViewBuilder, or null if there's none.

Implemented in eZ\Publish\Core\MVC\Symfony\View\Builder\Registry\ControllerMatch.

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

- ViewBuilderRegistry.php

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