doctrine2 - Deserialize Doctrine Entities and save it without merge() method -


i using jms serializer (without bundle, in php project!) , doctrine 2.

i know best way deserialize doctrine entity many onetomany & manytomany relations existing entities.

i don't want use merge() method save it, because becomes unmanageable when try update entity (cascade blablabla).

using doctrineobjectconstructor seems way go, can't find easy way instantiate it.

thank you.


Comments