OpenTelemetry PHP

PropagatorFactoryTest extends TestCase
in package
uses TestState

Attributes
#[CoversClass]
\OpenTelemetry\SDK\Propagation\PropagatorFactory::class

Table of Contents

Properties

$environmentVariables  : array<string|int, mixed>

Methods

propagatorsProvider()  : array<string|int, mixed>
setUp()  : void
test_create()  : void
test_unimplemented_propagators()  : void
unimplementedPropagatorProvider()  : array<string|int, mixed>
restoreEnvironmentVariables()  : void
setEnvironmentVariable()  : void
tearDownSharedState()  : void

Properties

$environmentVariables

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

Methods

propagatorsProvider()

public static propagatorsProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

test_create()

public test_create(string $propagators, string $expected) : void
Parameters
$propagators : string
$expected : string
Tags
psalm-suppress

ArgumentTypeCoercion

Attributes
#[DataProvider]
'propagatorsProvider'

test_unimplemented_propagators()

public test_unimplemented_propagators(string $propagator) : void
Parameters
$propagator : string
Attributes
#[DataProvider]
'unimplementedPropagatorProvider'

unimplementedPropagatorProvider()

public static unimplementedPropagatorProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

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