summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/context/ContextStorageHead.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/open-telemetry/context/ContextStorageHead.php')
-rw-r--r--vendor/open-telemetry/context/ContextStorageHead.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/open-telemetry/context/ContextStorageHead.php b/vendor/open-telemetry/context/ContextStorageHead.php
new file mode 100644
index 000000000..3cc4d7181
--- /dev/null
+++ b/vendor/open-telemetry/context/ContextStorageHead.php
@@ -0,0 +1,19 @@
+<?php
+
+declare(strict_types=1);
+
+namespace OpenTelemetry\Context;
+
+/**
+ * @internal
+ */
+final class ContextStorageHead
+{
+ public ContextStorage $storage;
+ public ?ContextStorageNode $node = null;
+
+ public function __construct(ContextStorage $storage)
+ {
+ $this->storage = $storage;
+ }
+}