protected function parseGet($url, $query)
        {
            $append = strpos($url, '?') === false ? '?' : '&';

            return $url . $append . http_build_query($query);
        }
protected function parseGet($url, $query)
        {
            $append = strpos($url, '?') === false ? '?' : '&';

            return $url . $append . http_build_query($query);
        }
protected function parseGet ( $ url , $ query ) { $ append = strpos ( $ url , '?' ) === false ? '?' : '&' ; return $ url . $ append . http_build_query ( $ query ) ; }
Appends query array onto URL

@param string $url
@param array  $query

@return string
Appends query array onto URL