Fully Qualified Name: | Zend\Mvc\Console\View\InjectViewModelListener |
Extends: | InjectViewModelListener |
Name | Description | Defined By |
---|---|---|
attach() | {@inheritDoc} | InjectViewModelListener |
detach() | {@inheritDoc} | AbstractListenerAggregate |
injectViewModel() | Insert the view model into the event | InjectViewModelListener |
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$events | ||
$priority |
Returns:
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$events |
Returns:
Insert the view model into the event
Inspects the MVC result; if it's a view model, it then either (a) adds it as a child to the default, composed view model, or (b) replaces it if the result is marked as terminable.
Parameter Name | Type | Description |
---|---|---|
$e | \MvcEvent |
Returns: void