src/wcmf/lib/persistence/impl/DefaultPersistentObject.php
private function updateOID() {
    $pkValues = [];
    // collect the values of the primary keys and compose the oid from them
    $pkNames = $this->getMapper()->getPkNames();
    foreach ($pkNames as $pkName) {
      $pkValues[] = self::getValue($pkName);
    }
    $this->oid = new ObjectId($this->getType(), $pkValues);
  }
private function updateOID() {
    $pkValues = [];
    // collect the values of the primary keys and compose the oid from them
    $pkNames = $this->getMapper()->getPkNames();
    foreach ($pkNames as $pkName) {
      $pkValues[] = self::getValue($pkName);
    }
    $this->oid = new ObjectId($this->getType(), $pkValues);
  }
private function updateOID ( ) { $ pkValues = [ ] ; // collect the values of the primary keys and compose the oid from them $ pkNames = $ this -> getMapper ( ) -> getPkNames ( ) ; foreach ( $ pkNames as $ pkName ) { $ pkValues [ ] = self :: getValue ( $ pkName ) ; } $ this -> oid = new ObjectId ( $ this -> getType ( ) , $ pkValues ) ; }
Recalculate the object id
Recalculate the object id