This patch imports functionality that is zend-i18n-specific, but only available in zend-mvc; specifically, the TranslatorPluginManager factory. Additionally, it creates both a ConfigProvider and a Module class in the top-level namespace, providing configuration for:
The TranslatorInterface service and the TranslatorPluginManager.
Filters exposed by zend-i18n.
Validators exposed by zend-i18n.
View helpers exposed by zend-i18n (obviating the need for Zend\I18n\View\HelperConfig).
The ConfigProvider and TranslatorPluginManager are exposed to zend-component-installer via the composer.json.
This functionality can be released with an immediate 2.7.0 release without conflict, allowing usage with zend-expressive, and development versions of zend-mvc (where the parallel functionality can now be removed).
This patch imports functionality that is zend-i18n-specific, but only available in zend-mvc; specifically, the
TranslatorPluginManager
factory. Additionally, it creates both aConfigProvider
and aModule
class in the top-level namespace, providing configuration for:TranslatorInterface
service and theTranslatorPluginManager
.Zend\I18n\View\HelperConfig
).The
ConfigProvider
andTranslatorPluginManager
are exposed to zend-component-installer via thecomposer.json
.This functionality can be released with an immediate 2.7.0 release without conflict, allowing usage with zend-expressive, and development versions of zend-mvc (where the parallel functionality can now be removed).