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

Breadcrumb

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

function CriteriaViewRegistry::find

@todo is null the best return type here? what about empty array or exception?

Overrides ViewRegistryInterface::find

File

vendor/open-telemetry/sdk/Metrics/View/CriteriaViewRegistry.php, line 28

Class

CriteriaViewRegistry

Namespace

OpenTelemetry\SDK\Metrics\View

Code

public function find(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope) : ?iterable {
    $views = $this->generateViews($instrument, $instrumentationScope);
    return $views->valid() ? $views : null;
}

API Navigation

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