예제 #1
0
 /**
  * Registers the given Virtual Object
  *
  * This is a high level shorthand for:
  * Object exists?
  *    Yes -> update
  *    No -> add
  *
  * @param VirtualObject $object
  * @return VirtualObject Returns the registered Document
  */
 public function registerObject($object)
 {
     return $this->persistenceManager->registerObject($object);
 }