src/Common/CloudConfigurationManager.php
public static function getConnectionString($key)
    {
        Validate::isString($key, 'key');

        self::_init();
        $value = null;

        foreach (self::$_sources as $source) {
            $value = call_user_func_array($source, [$key]);

            if (!empty($value)) {
                break;
            }
        }

        return $value;
    }
public static function getConnectionString($key)
    {
        Validate::isString($key, 'key');

        self::_init();
        $value = null;

        foreach (self::$_sources as $source) {
            $value = call_user_func_array($source, [$key]);

            if (!empty($value)) {
                break;
            }
        }

        return $value;
    }
public static function getConnectionString ( $ key ) { Validate :: isString ( $ key , 'key' ) ; self :: _init ( ) ; $ value = null ; foreach ( self :: $ _sources as $ source ) { $ value = call_user_func_array ( $ source , [ $ key ] ) ; if ( ! empty ( $ value ) ) { break ; } } return $ value ; }
Gets a connection string from all available sources.

@param string $key The connection string key name

@return string If the key does not exist return null
Gets a connection string from all available sources .