Created config post processor that parses a simplified config to what shlink expects

This commit is contained in:
Alejandro Celaya
2019-04-18 10:37:38 +02:00
parent e186237410
commit 479760c0ee
3 changed files with 146 additions and 1 deletions

View File

@@ -25,4 +25,6 @@ return (new ConfigAggregator\ConfigAggregator([
env('APP_ENV') === 'test'
? new ConfigAggregator\PhpFileProvider('config/test/*.global.php')
: new ConfigAggregator\ArrayProvider([]),
], 'data/cache/app_config.php'))->getMergedConfig();
], 'data/cache/app_config.php', [
Core\ConfigPostProcessor::class,
]))->getMergedConfig();