protected function setQueryParam(Request $request, $value)
    {
        $queryParams = $request->getQueryParams();
        $queryParams[$this->queryParam] = $value;
        $request->setQueryParams($queryParams);
    }
protected function setQueryParam(Request $request, $value)
    {
        $queryParams = $request->getQueryParams();
        $queryParams[$this->queryParam] = $value;
        $request->setQueryParams($queryParams);
    }
protected function setQueryParam ( Request $ request , $ value ) { $ queryParams = $ request -> getQueryParams ( ) ; $ queryParams [ $ this -> queryParam ] = $ value ; $ request -> setQueryParams ( $ queryParams ) ; }
Sets the query parameter that contains a language.

@param Request $request the Request component instance.
@param string $value a language value.
Sets the query parameter that contains a language .