Flow PHP

ValueNormalizer

Read onlyYes
FinalYes

Normalize arbitrary PHP values to types acceptable by Telemetry attributes.

This class handles the conversion of various PHP types to the subset of types that can be stored as Telemetry log record attributes.

Methods

normalize()  : array<string|int, bool|DateTimeInterface|float|int|string|Throwable>|bool|DateTimeInterface|float|int|string|Throwable
Normalize a value to a type acceptable by Telemetry attributes.

Methods

normalize()

Normalize a value to a type acceptable by Telemetry attributes.

public normalize(mixed $value) : array<string|int, bool|DateTimeInterface|float|int|string|Throwable>|bool|DateTimeInterface|float|int|string|Throwable
Parameters
$value : mixed
Return values
array<string|int, bool|DateTimeInterface|float|int|string|Throwable>|bool|DateTimeInterface|float|int|string|Throwable

        
On this page

Search results