Interface

eZ\Publish\Core\MVC\Symfony\View\Builder\ViewBuilder

interface ViewBuilder

Builds View objects based on an array of parameters.

Methods

bool matches(mixed $argument)

Tests if the builder matches the given argument.

View buildView(array $parameters)

Builds the View based on $parameters.

Details

at line 21
public bool matches(mixed $argument)

Tests if the builder matches the given argument.

Parameters

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

Return Value

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

at line 30
public View buildView(array $parameters)

Builds the View based on $parameters.

Parameters

array $parameters

Return Value

View An implementation of the View interface