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

Breadcrumb

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

function ContextStorage::switch

Overrides ExecutionContextAwareInterface::switch

File

vendor/open-telemetry/context/ContextStorage.php, line 27

Class

ContextStorage
@internal

Namespace

OpenTelemetry\Context

Code

public function switch(int|string $id) : void {
    $this->current = $this->forks[$id] ?? $this->main;
}

API Navigation

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