Ds\Pair::__construct
PHP function
Edit on GitHub ✎
(PECL ds >= 1.0.0)
Creates a new instance
Description
Ds\Pair::__construct([mixed $key], [mixed $value])
Creates a new instance using a given key and value.
Parameters
keyThe key.
valueThe value.