Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

zend-mvc 3.0.2

Compare
Choose a tag to compare
@weierophinney weierophinney released this 30 Jun 20:32
· 258 commits to master since this release

Added

  • #163 adds support to the AcceptableViewModelSelector plugin for controller maps in the view_manager configuration in the format:

    [
        'ControllerClassName' => 'view/name',
    ]

    This fixes an issue observed when running with Apigility.

  • #163 adds support to the InjectTemplateListener for 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 either Throwable or Exception types for the $exception argument.