MongoDB\BSON\Document::offsetUnset

(mongodb >=1.17.0)

MongoDB\BSON\Document::offsetUnsetImplementation of ArrayAccess

Beschreibung

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

Unsets the value at the specified index.

Parameter-Liste

key

The index being unset.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Fehler/Exceptions