diff options
Diffstat (limited to 'lib/public/App/IAppManager.php')
-rw-r--r-- | lib/public/App/IAppManager.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php index f602a6de81e..0c087b61515 100644 --- a/lib/public/App/IAppManager.php +++ b/lib/public/App/IAppManager.php @@ -36,6 +36,26 @@ use OCP\IUser; * @since 8.0.0 */ interface IAppManager { + + /** + * Returns the app information from "appinfo/info.xml". + * + * @param string $appId + * @return mixed + * @since 14.0.0 + */ + public function getAppInfo(string $appId, bool $path = false, $lang = null); + + /** + * Returns the app information from "appinfo/info.xml". + * + * @param string $appId + * @param bool $useCache + * @return mixed + * @since 14.0.0 + */ + public function getAppVersion(string $appId, bool $useCache = true); + /** * Check if an app is enabled for user * |