Beispiel #1
0
 /**
  * Updates an object permanently. Supports partial updates.
  * @param $obj the object to update
  * @return the updated object
  */
 public function update(ParaObject $obj = null)
 {
     if ($obj == null) {
         return null;
     }
     return $this->getEntity($this->invokePatch($obj->getObjectURI(), $obj->jsonSerialize()), false);
 }