The Pair class

(PECL ds >= 1.0.0)

¼ò½é

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

ÀàÕªÒª

class Ds\Pair implements JsonSerializable {
/* ·½·¨ */
public __construct(mixed $key = ?, mixed $value = ?)
public clear(): void
public copy(): Ds\Pair
public isEmpty(): bool
public toArray(): array
}

Table of Contents