public getEnvPlaceholders ( ) : string[][] | ||
return | string[][] | A map of env var names to their placeholders |
public function getEnvPlaceholders()
{
return $this->envPlaceholders;
}
/** * Merges the env placeholders of another EnvPlaceholderParameterBag. */ public function mergeEnvPlaceholders(self $bag) { if ($newPlaceholders = $bag->getEnvPlaceholders()) { $this->envPlaceholders += $newPlaceholders; foreach ($newPlaceholders as $env => $placeholders) { $this->envPlaceholders[$env] += $placeholders; } } }