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\ViewBuilder Interface Reference

Builds View objects based on an array of parameters. More...

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

## Public Member Functions
| matches ($argument)
| Tests if the builder matches the given argument. More...
| buildView (array $parameters)
| Builds the View based on $parameters. More...

## Detailed Description

Builds View objects based on an array of parameters.

Definition at line 14 of file ViewBuilder.php.

## Member Function Documentation

## ◆ buildView()

eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilder::buildView | ( | array | $parameters | ) |

Builds the View based on $parameters.

Parameters

  array | $parameters |

Returns
  View An implementation of the View interface

Implemented in eZ\Publish\Core\MVC\Symfony\View\Builder\ContentViewBuilder, and eZ\Publish\Core\MVC\Symfony\View\Builder\BlockViewBuilder.

## ◆ matches()

eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilder::matches | ( |  | $argument | ) |

Tests if the builder matches the given argument.

Parameters

  mixed | $argument | Anything the builder can decide against. Example: a controller's request string.

Returns
  bool true if the ViewBuilder matches the argument, false otherwise.

Implemented in eZ\Publish\Core\MVC\Symfony\View\Builder\ContentViewBuilder, and eZ\Publish\Core\MVC\Symfony\View\Builder\BlockViewBuilder.

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

- ViewBuilder.php

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