« MongoDB\BSON\PackedArray::offsetGet
MongoDB\BSON\PackedArray::offsetUnset »

MongoDB\BSON\PackedArray::offsetSet

(mongodb >=1.17.0)

MongoDB\BSON\PackedArray::offsetSet — Implementation of ArrayAccess

説明

final public function MongoDB\BSON\PackedArray::offsetSet(mixed $key, mixed $value): void

Sets the value at the specified key to value.

パラメータ

key

The index being set.

value

The new value for the key.

戻り値

値を返しません。

エラー / 例外

関連キーワード:
MongoDB   PackedArray   Implementation   ArrayAccess   offsetSet   mixed   offsetGet   offsetUnset   mongodb   final   Sets   specified   index   Always   throws   Driver   Exception   LogicException
関連する関数・ページ:
mongodb-bson-packedarray.offsetunset   class.mongodb-bson-packedarray   mongodb-bson-packedarray.offsetget   mongodb-bson-packedarray.get   mongodb-bson-packedarray.construct   mongodb-bson-packedarray.getiterator