IResponse.php 351 B

123456789101112131415161718192021
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\Http\WellKnown;
  8. use OCP\AppFramework\Http\Response;
  9. /**
  10. * @since 21.0.0
  11. */
  12. interface IResponse {
  13. /**
  14. * @since 21.0.0
  15. */
  16. public function toHttpResponse(): Response;
  17. }