Download the PHP package widefocus/magento-zend-hydrator-adapter without Composer
On this page you can find all versions of the php package widefocus/magento-zend-hydrator-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download widefocus/magento-zend-hydrator-adapter
More information about widefocus/magento-zend-hydrator-adapter
Files in widefocus/magento-zend-hydrator-adapter
Package magento-zend-hydrator-adapter
Short Description A bridge to use the Zend Hydrator implementation instead of the Magento2 implementation.
License MIT
Informations about the package magento-zend-hydrator-adapter
WideFocus Magento Zend Hydrator Adapter
An adapter to use the Zend Hydrator implementation instead of the Magento2 implementation.
Installation
Use composer to install the package.
Usage
The hydrator implementation in Magento 2.1 works alright with models that do not contain
any objects. But when a model uses for example DateTimeInterface
exceptions occur.
This package solves that by making it possible to use the Zend Framework Hydrator.
Example class to be hydrated:
DI configuration (etc/di.xml)
The hydrator will now be used by magento, for example when using the Magento Entity Manager.
The following shows how to get the hydrator from the hydrator pool.
All versions of magento-zend-hydrator-adapter with dependencies
zendframework/zend-stdlib Version ^2.4
magento/framework Version ^100.1
zendframework/zend-filter Version ^2.4
zendframework/zend-servicemanager Version ^2.4