diff options
Diffstat (limited to 'vendor/jonahgeorge/jaeger-client-php/src/Jaeger/ScopeManager.php')
-rw-r--r-- | vendor/jonahgeorge/jaeger-client-php/src/Jaeger/ScopeManager.php | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/ScopeManager.php b/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/ScopeManager.php deleted file mode 100644 index eb5c27676..000000000 --- a/vendor/jonahgeorge/jaeger-client-php/src/Jaeger/ScopeManager.php +++ /dev/null @@ -1,45 +0,0 @@ -<?php - -namespace Jaeger; - -use OpenTracing\ScopeManager as OTScopeManager; -use OpenTracing\Span as OTSpan; -use OpenTracing\Scope as OTScope; - -/** - * {@inheritdoc} - */ -class ScopeManager implements OTScopeManager -{ - /** - * @var OTScope - */ - private $active; - - /** - * {@inheritdoc} - */ - public function activate(OTSpan $span, bool $finishSpanOnClose = self::DEFAULT_FINISH_SPAN_ON_CLOSE): OTScope - { - $this->active = new Scope($this, $span, $finishSpanOnClose); - - return $this->active; - } - - /** - * {@inheritdoc} - */ - public function getActive(): ?OTScope - { - return $this->active; - } - - /** - * Sets the scope as active. - * @param OTScope|null $scope - */ - public function setActive(OTScope $scope = null) - { - $this->active = $scope; - } -} |