in lib/php/libsdk/SDK/Build/PGO/Config.php [252:267]
protected function importTplVars(string $section_name, array $section) : void
{
foreach($section as $k0 => $v0) {
if (is_array($v0)) {
if (substr($k0, -4) == ":env") {
/* Don't put env vars as tpl vars for now. */
continue;
}
$this->importTplVars($section_name . "_" . $k0, $v0);
} else {
$tpl_k = $this->buildTplVarName($section_name, $k0);
$this->tpl_vars[$tpl_k] = $v0;
}
}
}