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

Breadcrumb

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

class NoopUpDownCounter

@internal

Hierarchy

  • class \OpenTelemetry\API\Metrics\Noop\NoopUpDownCounter implements \OpenTelemetry\API\Metrics\UpDownCounterInterface

Expanded class hierarchy of NoopUpDownCounter

File

vendor/open-telemetry/api/Metrics/Noop/NoopUpDownCounter.php, line 12

Namespace

OpenTelemetry\API\Metrics\Noop
View source
final class NoopUpDownCounter implements UpDownCounterInterface {
    public function add($amount, iterable $attributes = [], $context = null) : void {
        // no-op
    }
    public function isEnabled() : bool {
        return false;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
NoopUpDownCounter::add public function Overrides UpDownCounterInterface::add
NoopUpDownCounter::isEnabled public function

API Navigation

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