summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-09-09 12:20:27 +0200
committerGitHub <noreply@github.com>2019-09-09 12:20:27 +0200
commitb3f663b8aa0f458c3d89a94bb88716bfd7c0e892 (patch)
tree393f2f347fd206d4e299cae186f77cfc67960122 /lib/public
parent20e8ee171d1a2fb63e8c5413b4bad2e880ea2c12 (diff)
parent2d56664e3587214254c1fd35370b6854c0ad878b (diff)
downloadnextcloud-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.php11
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