Add retriever to CloudObject and allow retrieval of related objects

This commit is contained in:
2026-05-15 10:54:39 +00:00
parent a9689d5a2b
commit 0cb2655494
4 changed files with 45 additions and 6 deletions

View File

@@ -196,7 +196,8 @@ class ObjectRetriever implements CustomCacheAndLogInterface {
return null;
}
$object = new CloudObject($coid, $node);
$object = (new CloudObject($coid, $node))
->setObjectRetriever($this);
if ($this->defaultReader) {
// Initialize CloudObject with default reader if it is set