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

Breadcrumb

  1. Drupal Core 11.1.x

NoopStalenessHandlerFactory.php

Namespace

OpenTelemetry\SDK\Metrics\StalenessHandler

File

vendor/open-telemetry/sdk/Metrics/StalenessHandler/NoopStalenessHandlerFactory.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\SDK\Metrics\StalenessHandler;

use OpenTelemetry\SDK\Metrics\ReferenceCounterInterface;
use OpenTelemetry\SDK\Metrics\StalenessHandlerFactoryInterface;
use OpenTelemetry\SDK\Metrics\StalenessHandlerInterface;
final class NoopStalenessHandlerFactory implements StalenessHandlerFactoryInterface {
    public function create() : ReferenceCounterInterface&StalenessHandlerInterface {
        static $instance;
        return $instance ??= new NoopStalenessHandler();
    }

}

Classes

Title Deprecated Summary
NoopStalenessHandlerFactory

API Navigation

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