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

Breadcrumb

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

function FiberBoundContextStorage::triggerNotInitializedFiberContextWarning

2 calls to FiberBoundContextStorage::triggerNotInitializedFiberContextWarning()
FiberBoundContextStorage::current in vendor/open-telemetry/context/FiberBoundContextStorage.php
Returns the current context.
FiberBoundContextStorage::scope in vendor/open-telemetry/context/FiberBoundContextStorage.php
Returns the current scope.

File

vendor/open-telemetry/context/FiberBoundContextStorage.php, line 69

Class

FiberBoundContextStorage
@internal

Namespace

OpenTelemetry\Context

Code

private static function triggerNotInitializedFiberContextWarning() : void {
    $fiber = Fiber::getCurrent();
    assert($fiber !== null);
    trigger_error(sprintf('Access to not initialized OpenTelemetry context in fiber (id: %d), automatic forking not supported, must attach initial fiber context manually', spl_object_id($fiber)), E_USER_WARNING);
}

API Navigation

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