OpenTelemetry PHP

MapParser
in package

Table of Contents

Constants

KEY_VALUE_SEPARATOR  = '='
VARIABLE_SEPARATOR  = ','

Methods

parse()  : array<string|int, mixed>
validateKeyValuePair()  : mixed

Constants

KEY_VALUE_SEPARATOR

private mixed KEY_VALUE_SEPARATOR = '='

VARIABLE_SEPARATOR

private mixed VARIABLE_SEPARATOR = ','

Methods

parse()

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

validateKeyValuePair()

private static validateKeyValuePair(string $pair) : mixed
Parameters
$pair : string

        
On this page

Search results