lithium\data\entity\Document::offsetUnset()
Allows document fields to be unset as array keys, i.e. unset($document['_id'])
.
Parameters
-
string
$key
The name of a field in an individual document.
Returns
voidSource
#[ReturnTypeWillChange]
public function offsetUnset($key) {
return $this->__unset($key);
}