library/Garp/Cli/Command/Cdn.php
protected function _updateEnvVars(array $vars) {
        return f\reduce_assoc(
            function ($o, $var, $key) {
                // Store the current value
                $o[$key] = getenv($key);
                // Put the new value
                putenv("{$key}={$var}");
                return $o;
            },
            array(),
            $vars
        );
    }
protected function _updateEnvVars(array $vars) {
        return f\reduce_assoc(
            function ($o, $var, $key) {
                // Store the current value
                $o[$key] = getenv($key);
                // Put the new value
                putenv("{$key}={$var}");
                return $o;
            },
            array(),
            $vars
        );
    }
protected function _updateEnvVars ( array $ vars ) { return f \ reduce_assoc ( function ( $ o , $ var , $ key ) { // Store the current value $ o [ $ key ] = getenv ( $ key ) ; // Put the new value putenv ( "{$key}={$var}" ) ; return $ o ; } , array ( ) , $ vars ) ; }
Update ENV vars with the given values.
Returns the _current_ values.

@param  array $vars The new values
@return array       The old values
Update ENV vars with the given values . Returns the _current_ values .