lithium\data\collection\DocumentArray::__unset PHP Method

__unset() public method

Use case for this would be when you wish to edit a document and remove a field, i.e.: {{{ $doc = Post::find($id); unset($doc->fieldName); $doc->save(); }}}
public __unset ( unknown_type $name ) : void
$name unknown_type
return void
    public function __unset($name)
    {
        unset($this->_data[$name]);
    }