public function withQueryParams(array $query)
    {
        $params = $this->getQueryParams();

        foreach ($query as $key => $value) {
            $params[$key] = $value;
        }

        $this->queryParams = $params;
    }
public function withQueryParams(array $query)
    {
        $params = $this->getQueryParams();

        foreach ($query as $key => $value) {
            $params[$key] = $value;
        }

        $this->queryParams = $params;
    }
public function withQueryParams ( array $ query ) { $ params = $ this -> getQueryParams ( ) ; foreach ( $ query as $ key => $ value ) { $ params [ $ key ] = $ value ; } $ this -> queryParams = $ params ; }
Set many query param.

@param array $values
Set many query param .