2016-04-10 02:38:07 -05:00
|
|
|
<?php
|
2017-10-12 03:13:20 -05:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2018-09-29 02:52:32 -05:00
|
|
|
namespace Shlinkio\Shlink;
|
|
|
|
|
2016-08-14 14:28:21 -05:00
|
|
|
use Acelaya\ExpressiveErrorHandler;
|
2017-03-24 14:34:18 -05:00
|
|
|
use Zend\ConfigAggregator;
|
2018-03-26 11:49:28 -05:00
|
|
|
use Zend\Expressive;
|
2016-04-10 02:38:07 -05:00
|
|
|
|
2017-03-24 14:34:18 -05:00
|
|
|
return (new ConfigAggregator\ConfigAggregator([
|
2018-03-26 11:49:28 -05:00
|
|
|
Expressive\ConfigProvider::class,
|
|
|
|
Expressive\Router\ConfigProvider::class,
|
|
|
|
Expressive\Router\FastRouteRouter\ConfigProvider::class,
|
|
|
|
Expressive\Plates\ConfigProvider::class,
|
2018-11-24 01:43:48 -06:00
|
|
|
Expressive\Swoole\ConfigProvider::class,
|
2016-08-14 14:28:21 -05:00
|
|
|
ExpressiveErrorHandler\ConfigProvider::class,
|
2016-07-19 16:35:47 -05:00
|
|
|
Common\ConfigProvider::class,
|
|
|
|
Core\ConfigProvider::class,
|
|
|
|
CLI\ConfigProvider::class,
|
2018-09-29 02:52:32 -05:00
|
|
|
Installer\ConfigProvider::class,
|
2016-07-19 16:35:47 -05:00
|
|
|
Rest\ConfigProvider::class,
|
2017-03-24 14:34:18 -05:00
|
|
|
new ConfigAggregator\ZendConfigProvider('config/{autoload/{{,*.}global,{,*.}local},params/generated_config}.php'),
|
2016-07-19 16:35:47 -05:00
|
|
|
], 'data/cache/app_config.php'))->getMergedConfig();
|