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

Breadcrumb

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

function NoopSpanProcessor::getInstance

File

vendor/open-telemetry/sdk/Trace/SpanProcessor/NoopSpanProcessor.php, line 17

Class

NoopSpanProcessor

Namespace

OpenTelemetry\SDK\Trace\SpanProcessor

Code

public static function getInstance() : SpanProcessorInterface {
    if (null === self::$instance) {
        self::$instance = new self();
    }
    return self::$instance;
}

API Navigation

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