1
0

IRequestId.php 473 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OCP;
  8. /**
  9. * @since 24.0.0
  10. */
  11. interface IRequestId {
  12. /**
  13. * Returns an ID for the request, value is not guaranteed to be unique and is mostly meant for logging
  14. * If `mod_unique_id` is installed this value will be taken.
  15. *
  16. * @return string
  17. * @since 24.0.0
  18. */
  19. public function getId(): string;
  20. }