public function removeKey($key)
    {
        if ($this->hasKey($key)) {
            unset($this->container[$key]);
            return true;
        } else {
            return false;
        }
    }
public function removeKey($key)
    {
        if ($this->hasKey($key)) {
            unset($this->container[$key]);
            return true;
        } else {
            return false;
        }
    }
public function removeKey ( $ key ) { if ( $ this -> hasKey ( $ key ) ) { unset ( $ this -> container [ $ key ] ) ; return true ; } else { return false ; } }
Removes all data by its associated key

@param string $key Key to be removed
@return boolean
Removes all data by its associated key