summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-02-08 11:46:07 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-03-20 10:21:45 +0100
commit8dc5f8218979a8bf05ac5a8e84649f750dcab5ec (patch)
tree37694ee2e6dac5673f12246e0e325bd77b837560 /lib/public
parent633ea018af94692cef8a196319f79eaf2467f061 (diff)
downloadnextcloud-server-8dc5f8218979a8bf05ac5a8e84649f750dcab5ec.tar.gz
nextcloud-server-8dc5f8218979a8bf05ac5a8e84649f750dcab5ec.zip
Move isType to AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/App/IAppManager.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/App/IAppManager.php b/lib/public/App/IAppManager.php
index 51bd5845b7c..8440b757d40 100644
--- a/lib/public/App/IAppManager.php
+++ b/lib/public/App/IAppManager.php
@@ -197,6 +197,12 @@ interface IAppManager {
public function isShipped($appId);
/**
+ * Check if an app is of a specific type
+ * @since 26.0.0
+ */
+ public function isType(string $app, array $types): bool;
+
+ /**
* @return string[]
* @since 9.0.0
*/