diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-06-07 17:12:45 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-06-07 17:12:45 +0200 |
commit | 85a9b7f0949932b1def24f86ab7dc3df87933e6f (patch) | |
tree | 534bed9e8662519e631e978b14fa014ef8c287f3 /lib/files | |
parent | f35578ec54b5ce4133e668625d6a7a34bfc6b1e9 (diff) | |
download | nextcloud-server-85a9b7f0949932b1def24f86ab7dc3df87933e6f.tar.gz nextcloud-server-85a9b7f0949932b1def24f86ab7dc3df87933e6f.zip |
Storage wrapper: provide access to the wrapped storage
Diffstat (limited to 'lib/files')
-rw-r--r-- | lib/files/storage/wrapper.php | 9 |
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. |