« Ds\Pair::clear
Ds\Pair::copy »

Ds\Pair::__construct

(PECL ds >= 1.0.0)

Ds\Pair::__construct — Creates a new instance

説明

public function Ds\Pair::__construct(mixed $key = ?, mixed $value = ?)

Creates a new instance using a given key and value.

パラメータ

key

The key.

value

The value.

関連キーワード:
Pair   Creates   instance   construct   mixed   clear   copy   using   given
関連する関数・ページ:
ds-map.construct   class.ds-pair   ds-pair.clear   ds-map.xor   ds-pair.copy   ds-map.union