public function ObjectManagerDecorator::merge in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/ObjectManagerDecorator.php \Doctrine\Common\Persistence\ObjectManagerDecorator::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
Overrides ObjectManager::merge
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ ObjectManagerDecorator.php, line 64
Class
- ObjectManagerDecorator
- Base class to simplify ObjectManager decorators
Namespace
Doctrine\Common\PersistenceCode
public function merge($object) {
return $this->wrapped
->merge($object);
}