Durable Workflow PHP SDK — API Reference

Guides

AvroMapValue
in package

FinalYes

Explicit adapter for Avro maps that PHP arrays cannot represent faithfully.

Tags
phpstan-type

Entry array{0: string, 1: mixed}

Table of Contents

Properties

$pairs  : array<string|int, mixed>

Methods

fromPairs()  : self
__construct()  : mixed

Properties

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>
On this page

Search results