aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/ICallbackResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/Http/ICallbackResponse.php')
-rw-r--r--lib/public/AppFramework/Http/ICallbackResponse.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/ICallbackResponse.php b/lib/public/AppFramework/Http/ICallbackResponse.php
new file mode 100644
index 00000000000..a51f72612fb
--- /dev/null
+++ b/lib/public/AppFramework/Http/ICallbackResponse.php
@@ -0,0 +1,23 @@
+<?php
+
+/**
+ * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+namespace OCP\AppFramework\Http;
+
+/**
+ * Interface ICallbackResponse
+ *
+ * @since 8.1.0
+ */
+interface ICallbackResponse {
+ /**
+ * Outputs the content that should be printed
+ *
+ * @param IOutput $output a small wrapper that handles output
+ * @since 8.1.0
+ */
+ public function callback(IOutput $output);
+}