2022-02-16 17:41:54 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2022-02-16 17:41:54 -05:00
|
|
|
*/
|
2026-05-28 08:54:31 -04:00
|
|
|
|
2022-02-16 17:41:54 -05:00
|
|
|
namespace OCP;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @since 24.0.0
|
|
|
|
|
*/
|
|
|
|
|
interface IRequestId {
|
2026-05-31 12:43:47 -04:00
|
|
|
|
2022-02-16 17:41:54 -05:00
|
|
|
/**
|
2026-05-31 12:43:47 -04:00
|
|
|
* Returns a request identifier intended primarily for logging and tracing.
|
|
|
|
|
*
|
|
|
|
|
* The value is not guaranteed to be globally unique. If `mod_unique_id` is
|
|
|
|
|
* installed, that value may be used by the implementation.
|
2022-02-16 17:41:54 -05:00
|
|
|
*
|
|
|
|
|
* @return string
|
|
|
|
|
* @since 24.0.0
|
|
|
|
|
*/
|
|
|
|
|
public function getId(): string;
|
|
|
|
|
}
|