original_string: public function getQueryParams(UriInterface $uri, $exclude = ['sig'], $params = [])
      {
          parse_str($uri->getQuery(), $params);
          foreach ($exclude as $excludedParam) {
              if (array_key_exists($excludedParam, $params)) {
                  unset($params[$excludedParam]);
              }
          }
          return $params;
      }
code: public function getQueryParams(UriInterface $uri, $exclude = ['sig'], $params = [])
      {
          parse_str($uri->getQuery(), $params);
          foreach ($exclude as $excludedParam) {
              if (array_key_exists($excludedParam, $params)) {
                  unset($params[$excludedParam]);
              }
          }
          return $params;
      }
code_tokens: public function getQueryParams ( UriInterface $ uri , $ exclude = [ 'sig' ] , $ params = [ ] ) { parse_str ( $ uri -> getQuery ( ) , $ params ) ; foreach ( $ exclude as $ excludedParam ) { if ( array_key_exists ( $ excludedParam , $ params ) ) { unset ( $ params [ $ excludedParam ] ) ; } } return $ params ; }
docstring: Gets the query parameters as an array from a ``UriInterface`` instance.
  
  @param UriInterface $uri
  @param array $exclude
  @param array $params
  
  @return array
docstring_tokens: Gets the query parameters as an array from a UriInterface instance .