mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 21:58:40 +03:00
24 lines
891 B
PHP
24 lines
891 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink;
|
|
|
|
use Acelaya\ExpressiveErrorHandler;
|
|
use Zend\ConfigAggregator;
|
|
use Zend\Expressive;
|
|
|
|
return (new ConfigAggregator\ConfigAggregator([
|
|
Expressive\ConfigProvider::class,
|
|
Expressive\Router\ConfigProvider::class,
|
|
Expressive\Router\FastRouteRouter\ConfigProvider::class,
|
|
Expressive\Plates\ConfigProvider::class,
|
|
Expressive\Swoole\ConfigProvider::class,
|
|
ExpressiveErrorHandler\ConfigProvider::class,
|
|
Common\ConfigProvider::class,
|
|
Core\ConfigProvider::class,
|
|
CLI\ConfigProvider::class,
|
|
Installer\ConfigProvider::class,
|
|
Rest\ConfigProvider::class,
|
|
new ConfigAggregator\PhpFileProvider('config/autoload/{{,*.}global,{,*.}local}.php'),
|
|
new ConfigAggregator\ZendConfigProvider('config/params/{generated_config.php,*.config.{php,json}}'),
|
|
], 'data/cache/app_config.php'))->getMergedConfig();
|