Skip to content
Snippets Groups Projects
Unverified Commit c3a4dd4b authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #19449 from nextcloud/allow-to-force-path-on-cache-event

Allow to overwrite the path on the cache event
parents 584e7290 dc050fb5
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,14 @@ class AbstractCacheEvent extends Event implements ICacheEvent {
return $this->path;
}
/**
* @param string $path
* @since 19.0.0
*/
public function setPath(string $path): void {
$this->path = $path;
}
/**
* @return int
* @since 16.0.0
......
......@@ -44,6 +44,12 @@ interface ICacheEvent {
*/
public function getPath(): string;
/**
* @param string $path
* @since 19.0.0
*/
public function setPath(string $path): void;
/**
* @return int
* @since 16.0.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment