protected function getConfigs(array $configs)
{
foreach ($configs as $name => $file) {
if (empty($file)) {
$configs[$name] = $this->getPath($name, $this->configs[$name]);
} else {
$configs[$name] = $this->getPath($name, $file);
}
}
return $configs;
}