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; } }