diff options
Diffstat (limited to 'lib/private/Share20/Manager.php')
-rw-r--r-- | lib/private/Share20/Manager.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index ffd779707df..9e6a867cf1b 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -2088,4 +2088,8 @@ class Manager implements IManager { yield from $provider->getAllShares(); } } + + public function getProviderForType(int $shareType): IShareProvider { + return $this->factory->getProviderForType($shareType); + } } |