public function remove(IQueryParameter $parameter)
    {
        foreach($this->parameters as $key => $someParameter) {
            if($someParameter === $parameter) {
                unset($this->parameters[$key]);
            }
        }
    }
public function remove(IQueryParameter $parameter)
    {
        foreach($this->parameters as $key => $someParameter) {
            if($someParameter === $parameter) {
                unset($this->parameters[$key]);
            }
        }
    }
public function remove ( IQueryParameter $ parameter ) { foreach ( $ this -> parameters as $ key => $ someParameter ) { if ( $ someParameter === $ parameter ) { unset ( $ this -> parameters [ $ key ] ) ; } } }
Removes a query parameter from the collection.

@param IQueryParameter $parameter

@return void
Removes a query parameter from the collection .