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;
    }
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;
    }
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 ; }
Gets the query parameters as an array from a ``UriInterface`` instance.

@param UriInterface $uri
@param array $exclude
@param array $params

@return array
Gets the query parameters as an array from a UriInterface instance .