ICallbackResponse.php 492 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCP\AppFramework\Http;
  8. /**
  9. * Interface ICallbackResponse
  10. *
  11. * @since 8.1.0
  12. */
  13. interface ICallbackResponse {
  14. /**
  15. * Outputs the content that should be printed
  16. *
  17. * @param IOutput $output a small wrapper that handles output
  18. * @since 8.1.0
  19. */
  20. public function callback(IOutput $output);
  21. }