2015-01-22 14:26:46 -05:00
|
|
|
<?php
|
2024-05-23 03:26:56 -04:00
|
|
|
|
2015-01-22 14:26:46 -05:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2015-01-22 14:26:46 -05:00
|
|
|
*/
|
|
|
|
|
namespace OCP\AppFramework\Http;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Interface ICallbackResponse
|
|
|
|
|
*
|
2015-04-16 11:00:08 -04:00
|
|
|
* @since 8.1.0
|
2015-01-22 14:26:46 -05:00
|
|
|
*/
|
|
|
|
|
interface ICallbackResponse {
|
|
|
|
|
/**
|
|
|
|
|
* Outputs the content that should be printed
|
|
|
|
|
*
|
2015-03-04 09:35:41 -05:00
|
|
|
* @param IOutput $output a small wrapper that handles output
|
2015-04-16 11:00:08 -04:00
|
|
|
* @since 8.1.0
|
2015-01-22 14:26:46 -05:00
|
|
|
*/
|
2017-07-22 15:10:16 -04:00
|
|
|
public function callback(IOutput $output);
|
2015-01-22 14:26:46 -05:00
|
|
|
}
|