protected function findPhpConfigs()
{
// our return value
$configs = [];
// look on disk
$filenames = $this->findConfigFilenames("main.php");
// let's get them processed
foreach ($filenames as $filename) {
$config = (require $filename);
// make sure we have a definition!
if (!$config instanceof TestEnvironment_Definition) {
throw new E4xx_TestEnvironmentFileMustReturnADefinition($filename);
}
$configs[$config->getName()] = $config;
// $config = $this->newWrappedConfigObject();
// $config->loadConfigFromFile($filename);
// $config->validateConfig();
// $configs[$config->getName()] = $config;
}
// all done
return $configs;
}