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

Breadcrumb

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

class RegistryRegistration

@internal

Hierarchy

  • class \OpenTelemetry\SDK\Metrics\MetricRegistration\RegistryRegistration implements \OpenTelemetry\SDK\Metrics\MetricRegistrationInterface

Expanded class hierarchy of RegistryRegistration

1 file declares its use of RegistryRegistration
Meter.php in vendor/open-telemetry/sdk/Metrics/Meter.php

File

vendor/open-telemetry/sdk/Metrics/MetricRegistration/RegistryRegistration.php, line 16

Namespace

OpenTelemetry\SDK\Metrics\MetricRegistration
View source
final class RegistryRegistration implements MetricRegistrationInterface {
    public function __construct(MetricSourceRegistryInterface $registry, StalenessHandlerInterface $stalenessHandler) {
    }
    public function register(MetricSourceProviderInterface $provider, MetricMetadataInterface $metadata) : void {
        $this->registry
            ->add($provider, $metadata, $this->stalenessHandler);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
RegistryRegistration::register public function Overrides MetricRegistrationInterface::register
RegistryRegistration::__construct public function

API Navigation

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