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

Breadcrumb

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

function ScopeInterface::detach

Detaches the context associated with this scope and restores the previously associated context.

Return value

int zero indicating an expected call, or a non-zero value indicating that the call was unexpected

See also

self::DETACHED

self::INACTIVE

self::MISMATCH

https://github.com/open-telemetry/opentelemetry-specification/blob/main…

2 methods override ScopeInterface::detach()
ContextStorageNode::detach in vendor/open-telemetry/context/ContextStorageNode.php
Detaches the context associated with this scope and restores the previously associated context.
DebugScope::detach in vendor/open-telemetry/context/DebugScope.php
Detaches the context associated with this scope and restores the previously associated context.

File

vendor/open-telemetry/context/ScopeInterface.php, line 31

Class

ScopeInterface

Namespace

OpenTelemetry\Context

Code

public function detach() : int;

API Navigation

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