summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Trace/LinkInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/open-telemetry/sdk/Trace/LinkInterface.php')
-rw-r--r--vendor/open-telemetry/sdk/Trace/LinkInterface.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/open-telemetry/sdk/Trace/LinkInterface.php b/vendor/open-telemetry/sdk/Trace/LinkInterface.php
new file mode 100644
index 000000000..8090fa1a5
--- /dev/null
+++ b/vendor/open-telemetry/sdk/Trace/LinkInterface.php
@@ -0,0 +1,14 @@
+<?php
+
+declare(strict_types=1);
+
+namespace OpenTelemetry\SDK\Trace;
+
+use OpenTelemetry\API\Trace\SpanContextInterface;
+use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
+
+interface LinkInterface
+{
+ public function getSpanContext(): SpanContextInterface;
+ public function getAttributes(): AttributesInterface;
+}