public function offsetUnset($key)
    {
        $this->checkKey($this->key_type, $key);
        unset($this->container[$key]);
    }
public function offsetUnset($key)
    {
        $this->checkKey($this->key_type, $key);
        unset($this->container[$key]);
    }
public function offsetUnset ( $ key ) { $ this -> checkKey ( $ this -> key_type , $ key ) ; unset ( $ this -> container [ $ key ] ) ; }
Remove the element at the given key.

This will also be called for: unset($arr)

@param object $key The key of the element to be removed.
@return void
@throws \ErrorException Invalid type for key.
Remove the element at the given key .