This repository was archived by the owner on Jan 29, 2020. It is now read-only.
zend-mvc 3.0.2
·
258 commits
to master
since this release
Added
-
#163 adds support to the
AcceptableViewModelSelectorplugin for controller maps in theview_managerconfiguration in the format:[ 'ControllerClassName' => 'view/name', ]This fixes an issue observed when running with Apigility.
-
#163 adds support to the
InjectTemplateListenerfor specifying whether or not to prefer the controller matched during routing via routing configuration:'route-name' => [ /* ... */ 'options' => [ /* ... */ 'defaults' => [ /* ... */ 'prefer_route_match_controller' => true, ], ], ],
This allows actions that might otherwise skip injection of the template to force the injection.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #161 fixes the
DispatchListener::marshalBadControllerEvent()method to allow eitherThrowableorExceptiontypes for the$exceptionargument.