summaryrefslogtreecommitdiffstats
path: root/lib/files/storage/wrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files/storage/wrapper.php')
-rw-r--r--lib/files/storage/wrapper.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/files/storage/wrapper.php b/lib/files/storage/wrapper.php
index 5939faec562..78892a564c4 100644
--- a/lib/files/storage/wrapper.php
+++ b/lib/files/storage/wrapper.php
@@ -10,7 +10,7 @@ namespace OC\Files\Storage;
class Wrapper implements Storage {
/**
- * @var Storage $storage
+ * @var \OC\Files\Storage\Storage $storage
*/
protected $storage;
@@ -22,6 +22,13 @@ class Wrapper implements Storage {
}
/**
+ * @return \OC\Files\Storage\Storage
+ */
+ public function getWrapperStorage() {
+ return $this->storage;
+ }
+
+ /**
* Get the identifier for the storage,
* the returned id should be the same for every storage object that is created with the same parameters
* and two storage objects with the same id should refer to two storages that display the same files.