AvroMapValue
in package
FinalYes
Explicit adapter for Avro maps that PHP arrays cannot represent faithfully.
Tags
Table of Contents
Properties
- $pairs : array<string|int, mixed>
Methods
- fromPairs() : self
- __construct() : mixed
Properties
$pairs read-only
public
array<string|int, mixed>
$pairs
Methods
fromPairs()
public
static fromPairs(iterable<string|int, array{0: mixed, 1: mixed}> $pairs) : self
Parameters
- $pairs : iterable<string|int, array{0: mixed, 1: mixed}>
Return values
self__construct()
private
__construct(array<int, Entry> $pairs) : mixed
Parameters
- $pairs : array<int, Entry>