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

Breadcrumb

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

function ViewTemplate::project

File

vendor/open-telemetry/sdk/Metrics/View/ViewTemplate.php, line 65

Class

ViewTemplate

Namespace

OpenTelemetry\SDK\Metrics\View

Code

public function project(Instrument $instrument) : ViewProjection {
    return new ViewProjection($this->name ?? $instrument->name, $instrument->unit, $this->description ?? $instrument->description, $this->attributeKeys, $this->aggregation);
}

API Navigation

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