Invisnik\LaravelSteamAuth\SteamAuth::validateUrl PHP 메소드

validateUrl() 개인적인 메소드

Validates a given URL, ensuring it contains the http or https URI Scheme
private validateUrl ( string $url ) : boolean
$url string
리턴 boolean
    private function validateUrl($url)
    {
        if (!filter_var($url, FILTER_VALIDATE_URL)) {
            return false;
        }
        return true;
    }