MongoDB\BSON\Document::offsetUnset

(mongodb >=1.17.0)

MongoDB\BSON\Document::offsetUnsetImplementation of ArrayAccess

Description

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

Unsets the value at the specified index.

Liste de paramètres

key

The index being unset.

Valeurs de retour

Aucune valeur n'est retournée.

Erreurs / Exceptions