The Pair class

(PECL ds >= 1.0.0)

Einführung

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

Klassenbeschreibung

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

Inhaltsverzeichnis