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

Breadcrumb

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

function ContextStorage::scope

Overrides ContextStorageInterface::scope

File

vendor/open-telemetry/context/ContextStorage.php, line 42

Class

ContextStorage
@internal

Namespace

OpenTelemetry\Context

Code

public function scope() : ?ContextStorageScopeInterface {
    return ($this->current->node->head ?? null) === $this->current ? $this->current->node : null;
}

API Navigation

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