You are browsing a version that has not yet been released.
Hydrators insert an array of data into object properties (this is called hydrating) and convert object properties back to an array (this is called extracting). Hydrators are often used in the context of Forms, with the binding functionality of Laminas, but can also be used in any hydrating/extracting context (for instance, it can be used in RESTful context). For an introduction to hydrators, please read Laminas hydrator documentation.
Run the following to install this library:
$ composer require doctrine/doctrine-laminas-hydrator
- Basic Usage
- Collections Strategy
- By Value and by Reference
- A Complete Example using Laminas\\Form
- Using Enums with PHP 8.1
- Performance Considerations