The Pair class

(PECL ds >= 1.0.0)

Giriş

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

Sınıf Sözdizimi

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

İçindekiler

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top