This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Repository navigation
zend-form 2.8.2
·
489 commits
to master
since this release
Added
- #60 adds an alias from
Zend\Form\FormElementManagertoFormElementManagerin theConfigProvider. - #67 adds polyfills for the
FormElementManagerto vary its definitions based on the major version of zend-servicemanager in use.FormElementManagerFactorywas updated to return the specific polyfill version, and an autoload rule was added to alias the class to the correct polyfill version. The polyfills were necessary to ensure that invokable classes are mapped to the newElementFactoryintroduced in the 2.7 series, thus ensuring instantiation is performed correctly.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- #65 fixes instantiation of
Zend\Form\FormElementManagerto ensure that the default initializers,injectFactory()andcallElementInit()are registered as the first and last initializers, respectively, during construction, restoring the pre-2.7 behavior. - #67 fixes the behavior of
Factory::create()to the pre-2.7.1 behavior of not passing creation options when retrieving an instance from theFormElementManager. This ensures that options are not passed to Element/Fieldset/Form instances until after they are fully initialized, ensuring that all dependencies are present.