Class

eZ\Publish\Core\MVC\Symfony\View\Provider\Registry

class Registry

Methods

ViewProvider[] getViewProviders(View $view)

setViewProviders(array $viewProviders)

Sets the complete list of view providers.

Details

at line 24
public ViewProvider[] getViewProviders(View $view)

Parameters

View $view

Return Value

ViewProvider[]

Exceptions

InvalidArgumentException

at line 39
public setViewProviders(array $viewProviders)

Sets the complete list of view providers.

Parameters

array $viewProviders ['type' => [ViewProvider1, ViewProvider2]]