summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php
blob: 75e205628dca44d6ac09c236940bf3dfed4b5403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

declare(strict_types=1);

namespace OpenTelemetry\Context\Propagation;

/**
 * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/context/api-propagators.md#setter-argument
 */
interface PropagationSetterInterface
{
    /**
     * Set the value for a given key on the associated carrier.
     */
    public function set(&$carrier, string $key, string $value) : void;
}