Created a config prost-processor which adds the base path on every applicable configuration

This commit is contained in:
Alejandro Celaya
2019-09-13 20:03:53 +02:00
parent 76541d5563
commit d7a3aeb0a2
5 changed files with 52 additions and 4 deletions

View File

@@ -28,5 +28,6 @@ return (new ConfigAggregator\ConfigAggregator([
? new ConfigAggregator\PhpFileProvider('config/test/*.global.php')
: new ConfigAggregator\ZendConfigProvider('config/params/{generated_config.php,*.config.{php,json}}'),
], 'data/cache/app_config.php', [
Core\SimplifiedConfigParser::class,
Core\Config\SimplifiedConfigParser::class,
Core\Config\BasePathPrefixer::class,
]))->getMergedConfig();