aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/CacheEntry.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Cache/CacheEntry.php')
-rw-r--r--lib/private/Files/Cache/CacheEntry.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Files/Cache/CacheEntry.php b/lib/private/Files/Cache/CacheEntry.php
index e9417c8012a..ab5bae316f4 100644
--- a/lib/private/Files/Cache/CacheEntry.php
+++ b/lib/private/Files/Cache/CacheEntry.php
@@ -110,6 +110,10 @@ class CacheEntry implements ICacheEntry {
return $this->data['upload_time'] ?? null;
}
+ public function getParentId(): int {
+ return $this->data['parent'];
+ }
+
public function getData() {
return $this->data;
}