OpenTelemetry PHP

EnvironmentGetterSetterTest extends TestCase
in package
uses TestState

Attributes
#[CoversClass]
\OpenTelemetry\Context\Propagation\EnvironmentGetterSetter::class

Table of Contents

Properties

$environmentVariables  : array<string|int, mixed>

Methods

test_can_get_all_values_from_environment()  : void
test_can_get_integer_value()  : void
test_for_empty_key()  : void
test_for_get_all_with_nonexistent_key()  : void
test_for_get_with_nonexistent_key()  : void
test_get_instance()  : void
test_get_values_from_environment()  : void
test_keys_from_environment()  : void
test_keys_with_empty_environment()  : void
test_set_empty_key()  : void
test_set_environment()  : void
restoreEnvironmentVariables()  : void
setEnvironmentVariable()  : void
tearDown()  : 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