src/Common/Internal/StorageServiceSettings.php
private static function _getDefaultServiceEndpoint($settings, $dns)
    {
        $scheme = Utilities::tryGetValueInsensitive(
            Resources::DEFAULT_ENDPOINTS_PROTOCOL_NAME,
            $settings
        );
        $accountName = Utilities::tryGetValueInsensitive(
            Resources::ACCOUNT_NAME_NAME,
            $settings
        );

        return sprintf(Resources::SERVICE_URI_FORMAT, $scheme, $accountName, $dns);
    }
private static function _getDefaultServiceEndpoint($settings, $dns)
    {
        $scheme = Utilities::tryGetValueInsensitive(
            Resources::DEFAULT_ENDPOINTS_PROTOCOL_NAME,
            $settings
        );
        $accountName = Utilities::tryGetValueInsensitive(
            Resources::ACCOUNT_NAME_NAME,
            $settings
        );

        return sprintf(Resources::SERVICE_URI_FORMAT, $scheme, $accountName, $dns);
    }
private static function _getDefaultServiceEndpoint ( $ settings , $ dns ) { $ scheme = Utilities :: tryGetValueInsensitive ( Resources :: DEFAULT_ENDPOINTS_PROTOCOL_NAME , $ settings ) ; $ accountName = Utilities :: tryGetValueInsensitive ( Resources :: ACCOUNT_NAME_NAME , $ settings ) ; return sprintf ( Resources :: SERVICE_URI_FORMAT , $ scheme , $ accountName , $ dns ) ; }
Gets the default service endpoint using the specified protocol and account
name.

@param array  $settings The service settings
@param string $dns      The service DNS

@return string
Gets the default service endpoint using the specified protocol and account name .