public function addConfig($file)
{
$section = func_num_args() > 1 ? func_get_arg(1) : NULL;
if ($section !== NULL) {
trigger_error('Sections in config file are deprecated.', E_USER_DEPRECATED);
}
$this->files[] = [$file, $section === self::AUTO ? $this->parameters['debugMode'] ? 'development' : 'production' : $section];
return $this;
}