summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage/loader.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files/storage/loader.php')
-rw-r--r--lib/private/files/storage/loader.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/files/storage/loader.php b/lib/private/files/storage/loader.php
index 2572ef443bc..966234cb04d 100644
--- a/lib/private/files/storage/loader.php
+++ b/lib/private/files/storage/loader.php
@@ -25,10 +25,17 @@ class Loader {
$this->storageWrappers[] = $callback;
}
+ /**
+ * @param string|boolean $mountPoint
+ * @param string $class
+ */
public function load($mountPoint, $class, $arguments) {
return $this->wrap($mountPoint, new $class($arguments));
}
+ /**
+ * @param string|boolean $mountPoint
+ */
public function wrap($mountPoint, $storage) {
foreach ($this->storageWrappers as $wrapper) {
$storage = $wrapper($mountPoint, $storage);