public function remove($key)
    {
        $position = $this->getPosition($key);
        if (false !== $position) {
            $this->file->remove($position);
            $this->rebuildIndex();

            return true;
        }

        return false;
    }
public function remove($key)
    {
        $position = $this->getPosition($key);
        if (false !== $position) {
            $this->file->remove($position);
            $this->rebuildIndex();

            return true;
        }

        return false;
    }
public function remove ( $ key ) { $ position = $ this -> getPosition ( $ key ) ; if ( false !== $ position ) { $ this -> file -> remove ( $ position ) ; $ this -> rebuildIndex ( ) ; return true ; } return false ; }
Remove a Value based on its Key

@param  mixed  $key The key to remove

@return bool
Remove a Value based on its Key