|
|
|
|
@ -10,7 +10,7 @@ namespace OC\Files\Storage; |
|
|
|
|
|
|
|
|
|
class Wrapper implements Storage { |
|
|
|
|
/** |
|
|
|
|
* @var Storage $storage |
|
|
|
|
* @var \OC\Files\Storage\Storage $storage |
|
|
|
|
*/ |
|
|
|
|
protected $storage; |
|
|
|
|
|
|
|
|
|
@ -21,6 +21,13 @@ class Wrapper implements Storage { |
|
|
|
|
$this->storage = $parameters['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 |
|
|
|
|
|