1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-07-27 16:47:59 +02:00
ttrss/vendor/open-telemetry/api/Baggage/BaggageBuilderInterface.php
2023-10-20 21:13:39 +03:00

24 lines
698 B
PHP

<?php
declare(strict_types=1);
namespace OpenTelemetry\API\Baggage;
use OpenTelemetry\API\Baggage as API;
interface BaggageBuilderInterface
{
/**
* @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#set-value
* @param mixed $value
*/
public function set(string $key, $value, API\MetadataInterface $metadata = null): API\BaggageBuilderInterface;
/**
* @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#remove-value
*/
public function remove(string $key): API\BaggageBuilderInterface;
public function build(): API\BaggageInterface;
}