diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-17 17:13:41 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-17 17:13:46 +0200 |
commit | e47cfc9a546ff73f258b6350a4105986c2386be4 (patch) | |
tree | c3ea10b78483023ce55ecb75a36f4c8207c51b14 /lib/private/Files | |
parent | f6daf17fa773bd4b9c9aae070e39dfbefe8de935 (diff) | |
download | nextcloud-server-e47cfc9a546ff73f258b6350a4105986c2386be4.tar.gz nextcloud-server-e47cfc9a546ff73f258b6350a4105986c2386be4.zip |
Properly add new methods to interface and document in PHPDoc for getRootMounts()
Introduced in #22063 and was just forgotten.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/Config/MountProviderCollection.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/Files/Config/MountProviderCollection.php b/lib/private/Files/Config/MountProviderCollection.php index 2b57ffe6e4c..3900e9870bd 100644 --- a/lib/private/Files/Config/MountProviderCollection.php +++ b/lib/private/Files/Config/MountProviderCollection.php @@ -207,6 +207,12 @@ class MountProviderCollection implements IMountProviderCollection, Emitter { $this->rootProviders[] = $provider; } + /** + * Get all root mountpoints + * + * @return \OCP\Files\Mount\IMountPoint[] + * @since 20.0.0 + */ public function getRootMounts(): array { $loader = $this->loader; $mounts = array_map(function (IRootMountProvider $provider) use ($loader) { |