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

Breadcrumb

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

function Configurator::__construct

Same name in this branch
  1. 11.1.x vendor/open-telemetry/api/Instrumentation/Configurator.php \OpenTelemetry\API\Instrumentation\Configurator::__construct()

@psalm-suppress PropertyTypeCoercion

Parameters

Closure(InstrumentationScopeInterface): T $factory:

File

vendor/open-telemetry/sdk/Common/InstrumentationScope/Configurator.php, line 30

Class

Configurator
@template T

Namespace

OpenTelemetry\SDK\Common\InstrumentationScope

Code

public function __construct(Closure $factory) {
    $this->configs = new WeakMap();
    $this->factory = $factory;
}
RSS feed
Powered by Drupal