summaryrefslogtreecommitdiff
path: root/vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php')
-rw-r--r--vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php67
1 files changed, 0 insertions, 67 deletions
diff --git a/vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php b/vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php
deleted file mode 100644
index c1af8dfc7..000000000
--- a/vendor/opentracing/opentracing/src/OpenTracing/NoopSpan.php
+++ /dev/null
@@ -1,67 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace OpenTracing;
-
-final class NoopSpan implements Span
-{
- /**
- * {@inheritdoc}
- */
- public function getOperationName(): string
- {
- return 'noop_span';
- }
-
- /**
- * {@inheritdoc}
- */
- public function getContext(): SpanContext
- {
- return new NoopSpanContext();
- }
-
- /**
- * {@inheritdoc}
- */
- public function finish($finishTime = null): void
- {
- }
-
- /**
- * {@inheritdoc}
- */
- public function overwriteOperationName(string $newOperationName): void
- {
- }
-
- /**
- * {@inheritdoc}
- */
- public function setTag(string $key, $value): void
- {
- }
-
- /**
- * {@inheritdoc}
- */
- public function log(array $fields = [], $timestamp = null): void
- {
- }
-
- /**
- * {@inheritdoc}
- */
- public function addBaggageItem(string $key, string $value): void
- {
- }
-
- /**
- * {@inheritdoc}
- */
- public function getBaggageItem(string $key): ?string
- {
- return null;
- }
-}