OpenTelemetry PHP

Discovery
in package

Table of Contents

Constants

DEFAULTS  = [\OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\Guzzle::class, \OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\Symfony::class, \OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\Buzz::class, \OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\CurlClient::class]

Properties

$discoverers  : array<string|int, mixed>|null

Methods

find()  : ClientInterface
Attempt discovery of a configurable psr-18 http client, falling back to Psr18ClientDiscovery.
discoverers()  : Generator

Constants

DEFAULTS

private array<int, DiscoveryInterface>> DEFAULTS = [\OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\Guzzle::class, \OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\Symfony::class, \OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\Buzz::class, \OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\CurlClient::class]

Properties

$discoverers

private static array<string|int, mixed>|null $discoverers

Methods

find()

Attempt discovery of a configurable psr-18 http client, falling back to Psr18ClientDiscovery.

public static find([array<string|int, mixed> $options = [] ]) : ClientInterface
Parameters
$options : array<string|int, mixed> = []
Return values
ClientInterface

discoverers()

private static discoverers() : Generator
Return values
Generator

        
On this page

Search results