The Pair class

(PECL ds >= 1.0.0)

Introduction

A pair is used by Ds\Map to pair keys with values.

Class synopsis

classDs\PairimplementsJsonSerializable {
public__construct(mixed$key = ?, mixed$value = ?)
publicclear(): void
publiccopy(): Ds\Pair
publicisEmpty(): bool
publictoArray(): array
}

Table of Contents

To Top