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

Breadcrumb

  1. Drupal Core 11.1.x

NoopTracerProvider.php

Same filename in this branch
  1. 11.1.x vendor/open-telemetry/sdk/Trace/NoopTracerProvider.php

Namespace

OpenTelemetry\API\Trace

File

vendor/open-telemetry/api/Trace/NoopTracerProvider.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\API\Trace;

class NoopTracerProvider implements TracerProviderInterface {
    public function getTracer(string $name, ?string $version = null, ?string $schemaUrl = null, iterable $attributes = []) : TracerInterface {
        return NoopTracer::getInstance();
    }

}

Classes

Title Deprecated Summary
NoopTracerProvider

API Navigation

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