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

Breadcrumb

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

class MetricAggregatorFactory

@internal

Hierarchy

  • class \OpenTelemetry\SDK\Metrics\Stream\MetricAggregatorFactory implements \OpenTelemetry\SDK\Metrics\Stream\MetricAggregatorFactoryInterface

Expanded class hierarchy of MetricAggregatorFactory

1 file declares its use of MetricAggregatorFactory
StreamFactory.php in vendor/open-telemetry/sdk/Metrics/MetricFactory/StreamFactory.php

File

vendor/open-telemetry/sdk/Metrics/Stream/MetricAggregatorFactory.php, line 13

Namespace

OpenTelemetry\SDK\Metrics\Stream
View source
final class MetricAggregatorFactory implements MetricAggregatorFactoryInterface {
    public function __construct(?AttributeProcessorInterface $attributeProcessor, AggregationInterface $aggregation) {
    }
    public function create() : MetricAggregatorInterface {
        return new MetricAggregator($this->attributeProcessor, $this->aggregation);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
MetricAggregatorFactory::create public function Overrides MetricAggregatorFactoryInterface::create
MetricAggregatorFactory::__construct public function

API Navigation

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