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\ContextCode
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);
}