private function buildUrlParams(
        string $url,
        array $params
    ) {
        array_walk($params, function (&$value, $key) {
            $value = "$key=$value";
        });

        return $url.'?'.implode('&', $params);
    }
private function buildUrlParams(
        string $url,
        array $params
    ) {
        array_walk($params, function (&$value, $key) {
            $value = "$key=$value";
        });

        return $url.'?'.implode('&', $params);
    }
private function buildUrlParams ( string $ url , array $ params ) { array_walk ( $ params , function ( & $ value , $ key ) { $ value = "$key=$value" ; } ) ; return $ url . '?' . implode ( '&' , $ params ) ; }
Build url params.

@param string   $url
@param string[] $params

@return string
Build url params .