The Pair class

Introduction

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

Class synopsis

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