diff options
Diffstat (limited to 'vendor/opentracing/opentracing/src/OpenTracing/NoopSpanContext.php')
-rw-r--r-- | vendor/opentracing/opentracing/src/OpenTracing/NoopSpanContext.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/vendor/opentracing/opentracing/src/OpenTracing/NoopSpanContext.php b/vendor/opentracing/opentracing/src/OpenTracing/NoopSpanContext.php deleted file mode 100644 index 5b0de7c93..000000000 --- a/vendor/opentracing/opentracing/src/OpenTracing/NoopSpanContext.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -declare(strict_types=1); - -namespace OpenTracing; - -use EmptyIterator; -use Traversable; - -final class NoopSpanContext implements SpanContext -{ - /** - * {@inheritdoc} - */ - public function getIterator(): Traversable - { - return new EmptyIterator(); - } - - /** - * {@inheritdoc} - */ - public function getBaggageItem(string $key): ?string - { - return null; - } - - /** - * {@inheritdoc} - */ - public function withBaggageItem(string $key, string $value): SpanContext - { - return new self(); - } -} |