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

Breadcrumb

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

function ContextStorageInterface::scope

Returns the current scope.

Return value

ContextStorageScopeInterface|null current scope, or null if no scope was attached in the current execution unit

3 methods override ContextStorageInterface::scope()
ContextStorage::scope in vendor/open-telemetry/context/ContextStorage.php
Returns the current scope.
FiberBoundContextStorage::scope in vendor/open-telemetry/context/FiberBoundContextStorage.php
Returns the current scope.
FiberBoundContextStorageExecutionAwareBC::scope in vendor/open-telemetry/context/FiberBoundContextStorageExecutionAwareBC.php
Returns the current scope.

File

vendor/open-telemetry/context/ContextStorageInterface.php, line 15

Class

ContextStorageInterface

Namespace

OpenTelemetry\Context

Code

public function scope() : ?ContextStorageScopeInterface;

API Navigation

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