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

Breadcrumb

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

function DebugScope::__construct

File

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

Class

DebugScope
@internal

Namespace

OpenTelemetry\Context

Code

public function __construct(ContextStorageScopeInterface $scope) {
    $this->fiberId = self::currentFiberId();
    $this->createdAt = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
    if (!self::$shutdownHandlerInitialized) {
        self::$shutdownHandlerInitialized = true;
        register_shutdown_function('register_shutdown_function', static fn() => self::$finalShutdownPhase = true);
    }
}

API Navigation

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