/** * Merges the state of a detached object into the persistence context * of this ObjectManager and returns the managed copy of the object. * The object passed to merge will not become associated/managed with this ObjectManager. * * @param object $object * * @return object */ public function merge($object) { $this->unitOfWork->merge($object); }