aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/ICallbackResponse.php
blob: a51f72612fb3ab492d875ba6580d83dc5ae7259b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
}