public setConfigVariable ( array $pars, Scalr_Environment $env, string $encrypted = true, string $cloudLocation = '' ) | ||
$pars | array | Associative array of the keys -> value |
$env | Scalr_Environment | The environment object |
$encrypted | string | optional This parameter is already ignored |
$cloudLocation | string | The cloud location |
public function setConfigVariable($pars, \Scalr_Environment $env, $encrypted = true, $cloudLocation = '')
{
$config = array();
foreach ($pars as $key => $v) {
$index = $this->platform ? "{$this->platform}.{$key}" : $key;
$config[$index] = $v;
}
$env->setPlatformConfig($config, $encrypted, $cloudLocation);
}