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

Breadcrumb

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

function DeltaStorage::__construct

File

vendor/open-telemetry/sdk/Metrics/Stream/DeltaStorage.php, line 19

Class

DeltaStorage
@internal @phan-file-suppress PhanUndeclaredTypeParameter, PhanUndeclaredTypeProperty

Namespace

OpenTelemetry\SDK\Metrics\Stream

Code

public function __construct(AggregationInterface $aggregation) {
    $this->head = new Delta(new Metric([], [], 0), 0);
    
    /** @phan-suppress-next-line PhanTypeObjectUnsetDeclaredProperty */
    unset($this->head->metric);
}

API Navigation

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