PHP 8.1.0 Beta 1 available for testing

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
public copy(): Ds\Pair
public isEmpty(): bool
public toArray(): array
}

Table of Contents

add a note add a note

User Contributed Notes

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