summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-02-13 08:38:33 +0100
committerJoas Schilling <coding@schilljs.com>2020-02-13 08:38:33 +0100
commitdc050fb5e5b1ce294553c8905f409e03dca1b1aa (patch)
treefd807ae6e8b64080108ae225c1c76816f8e7cd6c /lib/private/Files
parentc34570faf8d0e18df32a1bb334733964f88a388f (diff)
downloadnextcloud-server-dc050fb5e5b1ce294553c8905f409e03dca1b1aa.tar.gz
nextcloud-server-dc050fb5e5b1ce294553c8905f409e03dca1b1aa.zip
Allow to overwrite the path on the cache event
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Files')
-rw-r--r--lib/private/Files/Cache/AbstractCacheEvent.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/Files/Cache/AbstractCacheEvent.php b/lib/private/Files/Cache/AbstractCacheEvent.php
index 0fd03779009..741c06f3490 100644
--- a/lib/private/Files/Cache/AbstractCacheEvent.php
+++ b/lib/private/Files/Cache/AbstractCacheEvent.php
@@ -65,6 +65,14 @@ class AbstractCacheEvent extends Event implements ICacheEvent {
}
/**
+ * @param string $path
+ * @since 19.0.0
+ */
+ public function setPath(string $path): void {
+ $this->path = $path;
+ }
+
+ /**
* @return int
* @since 16.0.0
*/