collection::__unset

Removes an element from the array by key

collection::__unset($key)

Parameters

$key (string)
the name of the key

Return values