Added Zend expressive swoole config provider to global config when present

This commit is contained in:
Alejandro Celaya 2018-07-04 20:40:38 +02:00
parent c79ca1d13c
commit 63a69b05a1

View file

@ -24,6 +24,9 @@ return (new ConfigAggregator\ConfigAggregator([
Expressive\Router\FastRouteRouter\ConfigProvider::class,
Expressive\Plates\ConfigProvider::class,
Expressive\Helper\ConfigProvider::class,
\class_exists(Expressive\Swoole\ConfigProvider::class)
? Expressive\Swoole\ConfigProvider::class
: new ConfigAggregator\ArrayProvider([]),
ExpressiveErrorHandler\ConfigProvider::class,
Common\ConfigProvider::class,
Core\ConfigProvider::class,