OpenTelemetry PHP

StatusDataTest extends TestCase
in package

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

Table of Contents

Methods

getStatuses()  : array<string|int, mixed>
test_statuses()  : void
test_statuses_description()  : void

Methods

getStatuses()

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

test_statuses()

public test_statuses(string $code) : void
Parameters
$code : string
Tags
psalm-param

StatusCode::STATUS_* $code

Attributes
#[DataProvider]
'getStatuses'

test_statuses_description()

public test_statuses_description(string $code) : void
Parameters
$code : string
Tags
psalm-param

StatusCode::STATUS_* $code

Attributes
#[DataProvider]
'getStatuses'
#[Group]
'trace-compliance'

        
On this page

Search results