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

zend-expressive-zendviewrenderer 1.4.1

Compare
Choose a tag to compare
@weierophinney weierophinney released this 12 Dec 18:27
· 113 commits to master since this release

Added

  • #39 adds the ability for the ZendViewRendererFactory to use the Zend\View\Renderer\PhpRenderer service when present, defaulting to creating an unconfigured instance if none is available (previous behavior).

Changed

  • #41 updates the renderer to also inject the layout with any default parameters (vs only the template requested).

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #43 ensures that if a view model provided to the renderer contains child view models, then it will properly merge variables pulled from the child model. Previously, an error would occur due to an attempt to merge either a null or an object where it expected an array.