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

Standalone package #40

Conversation

weierophinney
Copy link
Member

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).

New factory for the LoaderPluginManager, to be registered under the
service `TranslatorPluginManager`.
Adds a `ConfigProvider` and `Module` in the top-level namespace, providing
configuration for each of:

- Translators and translator plugins
- Filters
- Validators
- View helpers (obviating the need for the `HelperConfig` class)
@weierophinney weierophinney added this to the 2.7.0 milestone Mar 29, 2016
@weierophinney weierophinney self-assigned this Mar 29, 2016
@weierophinney weierophinney merged commit b593219 into zendframework:develop Mar 30, 2016
weierophinney added a commit that referenced this pull request Mar 30, 2016
@weierophinney weierophinney deleted the feature/module-config-provider branch March 30, 2016 13:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant