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

Breadcrumb

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

function FiberBoundContextStorageExecutionAwareBC::attach

Overrides ContextStorageInterface::attach

File

vendor/open-telemetry/context/FiberBoundContextStorageExecutionAwareBC.php, line 68

Class

FiberBoundContextStorageExecutionAwareBC
@internal

Namespace

OpenTelemetry\Context

Code

public function attach(ContextInterface $context) : ContextStorageScopeInterface {
    return $this->bc ? $this->bc
        ->attach($context) : $this->storage
        ->attach($context);
}

API Navigation

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