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

Breadcrumb

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

function ConfiguratorClosure::matches

@psalm-suppress ArgumentTypeCoercion

File

vendor/open-telemetry/sdk/Common/InstrumentationScope/ConfiguratorClosure.php, line 27

Class

ConfiguratorClosure
@internal

Namespace

OpenTelemetry\SDK\Common\InstrumentationScope

Code

public function matches(InstrumentationScopeInterface $instrumentationScope) : bool {
    return ($this->name === null || preg_match($this->name, $instrumentationScope->getName())) && ($this->version === null || $this->version === $instrumentationScope->getVersion()) && ($this->schemaUrl === null || $this->schemaUrl === $instrumentationScope->getSchemaUrl());
}

API Navigation

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