Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TraceState.php

function TraceState::without

Overrides TraceStateInterface::without

File

vendor/open-telemetry/api/Trace/TraceState.php, line 55

Class

TraceState

Namespace

OpenTelemetry\API\Trace

Code

public function without(string $key) : TraceStateInterface {
    if (!isset($this->traceState[$key])) {
        return $this;
    }
    $clone = clone $this;
    unset($clone->traceState[$key]);
    return $clone;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal