aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Support/Subscription/ISupportedApps.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Support/Subscription/ISupportedApps.php')
-rw-r--r--lib/public/Support/Subscription/ISupportedApps.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/public/Support/Subscription/ISupportedApps.php b/lib/public/Support/Subscription/ISupportedApps.php
new file mode 100644
index 00000000000..d18870e827b
--- /dev/null
+++ b/lib/public/Support/Subscription/ISupportedApps.php
@@ -0,0 +1,21 @@
+<?php
+
+declare(strict_types=1);
+
+/**
+ * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
+ */
+namespace OCP\Support\Subscription;
+
+/**
+ * @since 17.0.0
+ */
+interface ISupportedApps extends ISubscription {
+ /**
+ * Fetches the list of app IDs that are supported by the subscription
+ *
+ * @since 17.0.0
+ */
+ public function getSupportedApps(): array;
+}