aboutsummaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/context/ImplicitContextKeyedInterface.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-10-01 14:54:29 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-10-01 14:54:29 +0000
commitdf33ddaea1e46b5b923440d6383fa3ae85c4d60b (patch)
tree89c510638669466453c7451f5eb493f50e850de0 /vendor/open-telemetry/context/ImplicitContextKeyedInterface.php
parent8fcc68baf5b0ff964a0a4a045353462586e0e316 (diff)
parent7e0f5f295c0480023098edca5e3f5a806bd93bab (diff)
Merge branch 'drop-opentelemetry' into 'master'
drop opentelemetry See merge request tt-rss/tt-rss!68
Diffstat (limited to 'vendor/open-telemetry/context/ImplicitContextKeyedInterface.php')
-rw-r--r--vendor/open-telemetry/context/ImplicitContextKeyedInterface.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/vendor/open-telemetry/context/ImplicitContextKeyedInterface.php b/vendor/open-telemetry/context/ImplicitContextKeyedInterface.php
deleted file mode 100644
index 0af93122c..000000000
--- a/vendor/open-telemetry/context/ImplicitContextKeyedInterface.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTelemetry\Context;
-
-/**
- * Represents a value that can be stored within {@see ContextInterface}.
- * Allows storing themselves without exposing a {@see ContextKeyInterface}.
- *
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/trace/api.md#context-interaction
- * @see https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.1/specification/baggage/api.md#context-interaction
- */
-interface ImplicitContextKeyedInterface
-{
- /**
- * Adds `$this` to the {@see Context::getCurrent() current context} and makes
- * the new {@see Context} the current context.
- *
- * {@see ScopeInterface::detach()} _MUST_ be called to properly restore the previous context.
- *
- * This method is equivalent to `Context::getCurrent().with($value).activate();`.
- *
- * @todo: Update this to suggest using the new helper method way to doing something in a specific context/span.
- */
- public function activate(): ScopeInterface;
-
- /**
- * Returns a new {@see ContextInterface} created by setting `$this` into the provided [@see ContextInterface}.
- */
- public function storeInContext(ContextInterface $context): ContextInterface;
-}