public loadUserConfig ( StaticConfig $config ) : void | ||
$config | StaticConfig | |
리턴 | void |
public function loadUserConfig($config)
{
try {
// We start with an empty config
$this->configHelper->loadDotFileConfig($config, self::APP_NAME, self::USER_DOTFILE);
} catch (E4xx_ConfigFileNotFound $e) {
// we don't care - user configs are optional
}
// all done
}