/** * Updates this xml entity in the storage system * * @param $xmlEntity * @return bool|int */ public function update($xmlEntity) { $identifier = $this->metadata->getIdentifierValue($xmlEntity); $xml = $this->marshaller->marshalToString($xmlEntity); return $this->storage->update($this->metadata, $identifier, $xml); }