Fully Qualified Name: | Zend\Mvc\View\Http\ViewManager |
Extends: | AbstractListenerAggregate |
Prepares the view layer
Instantiates and configures all classes related to the view layer, including the renderer (and its associated resolver(s) and helper manager), the view object (and its associated rendering strategies), and the various MVC strategies and listeners.
Defines and manages the following services:
Name | Description | Defined By |
---|---|---|
attach() | {@inheritDoc} | ViewManager |
detach() | {@inheritDoc} | AbstractListenerAggregate |
getView() | Retrieves the View instance | ViewManager |
getViewModel() | Configures the MvcEvent view model to ensure it has the template injected | ViewManager |
onBootstrap() | Prepares the view layer | ViewManager |
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$events | ||
$priority |
Returns:
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$events |
Returns:
Retrieves the View instance
Returns: \View
Configures the MvcEvent view model to ensure it has the template injected
Returns: \Zend\View\Model\ModelInterface
Prepares the view layer
Parameter Name | Type | Description |
---|---|---|
$event | ||
$event |
Returns: void