public static function getCurrentProviderId()
    {
        try {
            $optionValue = Option::get(self::CURRENT_PROVIDER_OPTION_NAME);
        } catch (\Exception $e) {
            $optionValue = false;
        }
        return $optionValue === false ? DefaultProvider::ID : $optionValue;
    }
public static function getCurrentProviderId()
    {
        try {
            $optionValue = Option::get(self::CURRENT_PROVIDER_OPTION_NAME);
        } catch (\Exception $e) {
            $optionValue = false;
        }
        return $optionValue === false ? DefaultProvider::ID : $optionValue;
    }
public static function getCurrentProviderId ( ) { try { $ optionValue = Option :: get ( self :: CURRENT_PROVIDER_OPTION_NAME ) ; } catch ( \ Exception $ e ) { $ optionValue = false ; } return $ optionValue === false ? DefaultProvider :: ID : $ optionValue ; }
Returns the ID of the currently used location provider.

The used provider is stored in the 'usercountry.location_provider' option.

This function should not be called by the Tracker.

@return string
Returns the ID of the currently used location provider .