public function buildUrl(string $url): string
    {
        if (filter_var($url, FILTER_VALIDATE_URL)) {
            return $url;
        }
        return $this->endPoint . static::ENDPOINT_SUFFIX . $url;
    }
public function buildUrl(string $url): string
    {
        if (filter_var($url, FILTER_VALIDATE_URL)) {
            return $url;
        }
        return $this->endPoint . static::ENDPOINT_SUFFIX . $url;
    }
public function buildUrl ( string $ url ) : string { if ( filter_var ( $ url , FILTER_VALIDATE_URL ) ) { return $ url ; } return $ this -> endPoint . static :: ENDPOINT_SUFFIX . $ url ; }
Stub method for changing the URL on a per-api basis.
@param $url string
@return string
Stub method for changing the URL on a per - api basis .