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

Breadcrumb

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

class NoopObservableUpDownCounter

@internal

Hierarchy

  • class \OpenTelemetry\API\Metrics\Noop\NoopObservableUpDownCounter implements \OpenTelemetry\API\Metrics\ObservableUpDownCounterInterface

Expanded class hierarchy of NoopObservableUpDownCounter

File

vendor/open-telemetry/api/Metrics/Noop/NoopObservableUpDownCounter.php, line 13

Namespace

OpenTelemetry\API\Metrics\Noop
View source
final class NoopObservableUpDownCounter implements ObservableUpDownCounterInterface {
    public function observe(callable $callback, bool $weaken = false) : ObservableCallbackInterface {
        return new NoopObservableCallback();
    }
    public function isEnabled() : bool {
        return false;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
NoopObservableUpDownCounter::isEnabled public function
NoopObservableUpDownCounter::observe public function Overrides ObservableUpDownCounterInterface::observe

API Navigation

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