Ds\Pair::__construct

(PECL ds >= 1.0.0)

Ds\Pair::__constructCreates a new instance

Description

public Ds\Pair::__construct ([ mixed $key [, mixed $value ]] )

Creates a new instance using a given key and value.

Parameters

key

The key.

value

The value.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/ds-pair.construct.php