OpenTelemetry PHP

TracerProviderFactoryTest extends TestCase
in package
uses TestState

Attributes
#[CoversClass]
\OpenTelemetry\SDK\Trace\TracerProviderFactory::class

Table of Contents

Properties

$environmentVariables  : array<string|int, mixed>
$logWriter  : LogWriterInterface|MockObject

Methods

setUp()  : void
test_can_be_disabled()  : void
test_factory_creates_tracer()  : void
test_factory_logs_warnings_and_continues()  : void
restoreEnvironmentVariables()  : void
setEnvironmentVariable()  : void
tearDownSharedState()  : void

Properties

$environmentVariables

private array<string|int, mixed> $environmentVariables = []

Methods

restoreEnvironmentVariables()

protected restoreEnvironmentVariables() : void
Attributes
#[After]

setEnvironmentVariable()

protected setEnvironmentVariable(string $variable, mixed $value) : void
Parameters
$variable : string
$value : mixed

tearDownSharedState()

protected tearDownSharedState() : void
Attributes
#[After]

        
On this page

Search results