public function getHostsAsConfig()
{
// our return value
$retval = new BaseObject();
// ask our hosts to convert themselves
foreach ($this->hosts as $hostDef) {
$hostConf = $hostDef->getHostAsConfig();
$retval->{$hostConf->name} = $hostConf;
}
// all done
return $retval;
}