protected function readBase($filename) { if (file_exists($filename)) { /** @var class-string<Enlight_Config> $reader */
$reader = 'Enlight_Config_Format_' .
ucfirst($this->_configType
);
$base =
new $reader($filename, null,
[ 'skipExtends' => true,
'allowModifications' => true,
] );
} else { $base =
new Enlight_Config([], true
);
} return $base;
}}