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() : string|int|float|bool|DateTimeInterface|Throwable|array<string|int, mixed>
Methods
normalize()
public
normalize(mixed $value) : string|int|float|bool|DateTimeInterface|Throwable|array<string|int, mixed>
Parameters
- $value : mixed