Skip to content


HydratorInterface::hydrate should not declare "array" type #2721

bouchery opened this Issue · 3 comments

4 participants


If you want to hydrate an object from another (ex: ArrayAccess) you can't implement Zend\Stdlib\HydratorInterface because parameter $data of "hydrate" is using type hint "array".


This is a BC break. We can do this in 3.0


I think this should be moved to 3.0 milestone

Zend Framework member

Closing due to inactivity and lack of comprehensive usage case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.