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

zend-view 2.6.6

Choose a tag to compare

@weierophinney weierophinney released this 18 Apr 19:23
· 565 commits to master since this release

Added

  • #57 adds Zend\View\Helper\TranslatorAwareTrait, which provides implementation for Zend\I18n\Translator\TranslatorAwareInterface, and allowed removal of duplicated implementations in several helpers.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #57 removes the explicit dependency on Zend\I18n\Translator\TranslatorAwareInterface by allowing helpers to duck type the interface to receive a translator during instantiation; this allows such helpers to work even when zend-i18n is not installed. The following helpers were updated to duck type the interface instead of implement it explicitly:
    • FlashMessenger
    • HeadTitle
    • all Navigation helpers