The Pair class

(PECL ds >= 1.0.0)

Introduction

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

Class synopsis

class 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

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /