public static function assert($value, $varName) {
        return !self::is($value) ? Exceptions::InvalidTypeException('Url', $varName, $value) : $value;
    }
public static function assert($value, $varName) {
        return !self::is($value) ? Exceptions::InvalidTypeException('Url', $varName, $value) : $value;
    }
public static function assert ( $ value , $ varName ) { return ! self :: is ( $ value ) ? Exceptions :: InvalidTypeException ( 'Url' , $ varName , $ value ) : $ value ; }
Asserts if the given value is an url

@param  mixed  $value
@param  string $varName
@return string
@throws InvalidTypeException

@SuppressWarnings("PHPMD.StaticAccess")
Asserts if the given value is an url