Thanks for your post.
You should warn that using reflexion has performances issues.
Plus you have a strong binding between the structure of your array and the structure of your class.
Moreover you should use the hydrator pattern naming convention(as you mentionned it in your title).
Nontheless that's a cool code :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for your post.
You should warn that using reflexion has performances issues.
Plus you have a strong binding between the structure of your array and the structure of your class.
Moreover you should use the hydrator pattern naming convention(as you mentionned it in your title).
Nontheless that's a cool code :)