diff options
author | Andrew Dolgov <[email protected]> | 2023-04-09 20:50:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-04-09 20:50:33 +0300 |
commit | 8f3646a9c93a06f76f6abb31020fdb74b4b1fc59 (patch) | |
tree | 4e6c9f39e0623ef70bedfee014f1bd20603f89ad /vendor/opentracing/opentracing/src/OpenTracing/NoopScope.php | |
parent | a37eab2610a0a2bcb655258781c1c7e925dc94c0 (diff) |
exp: jaeger tracing
Diffstat (limited to 'vendor/opentracing/opentracing/src/OpenTracing/NoopScope.php')
-rw-r--r-- | vendor/opentracing/opentracing/src/OpenTracing/NoopScope.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/opentracing/opentracing/src/OpenTracing/NoopScope.php b/vendor/opentracing/opentracing/src/OpenTracing/NoopScope.php new file mode 100644 index 000000000..7170c846a --- /dev/null +++ b/vendor/opentracing/opentracing/src/OpenTracing/NoopScope.php @@ -0,0 +1,23 @@ +<?php + +declare(strict_types=1); + +namespace OpenTracing; + +final class NoopScope implements Scope +{ + /** + * {@inheritdoc} + */ + public function close(): void + { + } + + /** + * {@inheritdoc} + */ + public function getSpan(): Span + { + return new NoopSpan(); + } +} |