The Pair class

(No version information available, might only be in Git)

Introduction

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

Class synopsis

Ds\Pair implements JsonSerializable {
/* Methods */
public __construct ([ mixed $key [, mixed $value ]] )
public clear ( void ) : void
public copy ( void ) : Ds\Pair
public isEmpty ( void ) : bool
public toArray ( void ) : array
}

Table of Contents