public getConfigVariable ( string $name, Scalr_Environment $env, string $encrypted = true, string $cloudLocation = '' ) : string | ||
$name | string | The name of the platform property |
$env | Scalr_Environment | The environment |
$encrypted | string | optional This is ignored |
$cloudLocation | string | optional The cloud location |
return | string | Returns the value of the specified platform property |
public function getConfigVariable($name, \Scalr_Environment $env, $encrypted = true, $cloudLocation = '')
{
$name = $this->platform ? "{$this->platform}.{$name}" : $name;
return $env->getPlatformConfigValue($name, $encrypted, $cloudLocation);
}