diff options
Diffstat (limited to 'vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php')
-rw-r--r-- | vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php b/vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php new file mode 100644 index 000000000..75e205628 --- /dev/null +++ b/vendor/open-telemetry/context/Propagation/PropagationSetterInterface.php @@ -0,0 +1,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; +} |