src/wcmf/lib/persistence/impl/DefaultTransaction.php
protected function registerNew(PersistentObject $object) {
    $key = $object->getOID()->__toString();
    if (self::$isDebugEnabled) {
      self::$logger->debug("Register new object: ".$key);
    }
    $this->newObjects[$key] = $object;
    $this->observedObjects[$key] = $object;
    return $object;
  }
protected function registerNew(PersistentObject $object) {
    $key = $object->getOID()->__toString();
    if (self::$isDebugEnabled) {
      self::$logger->debug("Register new object: ".$key);
    }
    $this->newObjects[$key] = $object;
    $this->observedObjects[$key] = $object;
    return $object;
  }
protected function registerNew ( PersistentObject $ object ) { $ key = $ object -> getOID ( ) -> __toString ( ) ; if ( self :: $ isDebugEnabled ) { self :: $ logger -> debug ( "Register new object: " . $ key ) ; } $ this -> newObjects [ $ key ] = $ object ; $ this -> observedObjects [ $ key ] = $ object ; return $ object ; }
Register a newly created object. The returned object is the registered instance.
@param $object PersistentObject instance
Register a newly created object . The returned object is the registered instance .