diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-09-09 12:20:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 12:20:27 +0200 |
commit | b3f663b8aa0f458c3d89a94bb88716bfd7c0e892 (patch) | |
tree | 393f2f347fd206d4e299cae186f77cfc67960122 /lib/public | |
parent | 20e8ee171d1a2fb63e8c5413b4bad2e880ea2c12 (diff) | |
parent | 2d56664e3587214254c1fd35370b6854c0ad878b (diff) | |
download | nextcloud-server-b3f663b8aa0f458c3d89a94bb88716bfd7c0e892.tar.gz nextcloud-server-b3f663b8aa0f458c3d89a94bb88716bfd7c0e892.zip |
Merge pull request #16859 from PhrozenByte/patch-1
Add IAppManager::getAppWebPath()
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/App/IAppManager.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index aebd47b3a2d..391e3f0dd64 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -8,6 +8,7 @@ * @author Morris Jobke <hey@morrisjobke.de> * @author Robin Appelman <robin@icewind.nl> * @author Thomas Müller <thomas.mueller@tmit.eu> + * @author Daniel Rudolf <nextcloud.com@daniel-rudolf.de> * * @license AGPL-3.0 * @@ -126,6 +127,16 @@ interface IAppManager { public function getAppPath($appId); /** + * Get the web path for the given app. + * + * @param string $appId + * @return string + * @since 18.0.0 + * @throws AppPathNotFoundException + */ + public function getAppWebPath(string $appId): string; + + /** * List all apps enabled for a user * * @param \OCP\IUser $user |