Added getLabel() helper function

This commit is contained in:
2026-06-15 09:04:16 +00:00
parent 3c958dc5df
commit 58df9cb476
3 changed files with 17 additions and 0 deletions

View File

@@ -166,4 +166,11 @@ class CloudObject {
return $this->getString(Constants::PROPERTY_REVISION);
}
/**
* Get the rdfs:label of the object.
*/
public function getLabel() : ?string {
return $this->getString(Constants::RDFS_LABEL);
}
}