Merge objects with arrays, the simplest way.

To hydrate objects with data from arrays sometimes needed doing ugly things…
With Orbitale EntityMerger, it becomes faster and easier.
An ObjectManager from Doctrine ORM can be used as first argument to check the entity’s metadatas.
Symfony 2.5+ serializer, or JMSSerializer also allow to merge two objects easily.

View Orbitale EntityMerger on Github