MongoDB\BSON\PackedArray::offsetUnset

Implementation of ArrayAccess

Description

final public void MongoDB\BSON\PackedArray::offsetUnset(mixed $key)

Unsets the value at the specified index.

Parameters

key

The index being unset.

Return Values

No value is returned.

Errors/Exceptions

  • Always throws a MongoDB\Driver\Exception\LogicException.