public function ObjectManager::merge in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManager.php \Doctrine\Common\Persistence\ObjectManager::merge()
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.
Parameters
object $object:
Return value
object
1 method overrides ObjectManager::merge()
- ObjectManagerDecorator::merge in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php - 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.
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManager.php, line 78
Class
- ObjectManager
- Contract for a Doctrine persistence layer ObjectManager class to implement.
Namespace
Doctrine\Common\PersistenceCode
public function merge($object);