OpenTelemetry PHP

AttributesConverter
in package

FinalYes

Table of Contents

Methods

convertAnyValue()  : AnyValue
isSimpleArray()  : bool
Test whether an array is simple (non-KeyValue)
isUtf8()  : bool

Methods

convertAnyValue()

public static convertAnyValue(mixed $value) : AnyValue
Parameters
$value : mixed
Return values
AnyValue

isSimpleArray()

Test whether an array is simple (non-KeyValue)

public static isSimpleArray(array<string|int, mixed> $value) : bool
Parameters
$value : array<string|int, mixed>
Return values
bool

isUtf8()

private static isUtf8(string $value) : bool
Parameters
$value : string
Return values
bool
On this page

Search results