Added getRevision() helper function, refactored revision constant

This commit is contained in:
2026-05-15 14:06:15 +00:00
parent 06df8b0be1
commit d5d766cbf4
3 changed files with 24 additions and 6 deletions

View File

@@ -157,6 +157,13 @@ class CloudObject {
}
return $this->retriever->getObjectNode($coid);
}
}
/**
* Get the revision of the object.
*/
public function getRevision() : string {
return $this->getString(Constants::PROPERTY_REVISION);
}
}