diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-09-03 22:43:19 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2018-09-03 22:55:54 +0200 |
commit | 36dafdb68acbde2fe42ce36ef50f497c8c06411f (patch) | |
tree | 1e420597ae72c979361bf29b66ae7e27c73cf431 /config | |
parent | 9f1ee0c6c6497d43fb275491ec53fda420f64b81 (diff) | |
parent | b0e7bc0df2eb4975223582089c7a928903e8cd14 (diff) |
Merge remote-tracking branch 'MyIgel/rebuild-psr7'
Diffstat (limited to 'config')
-rw-r--r-- | config/app.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/app.php b/config/app.php index 74eb2991..bb405fde 100644 --- a/config/app.php +++ b/config/app.php @@ -4,7 +4,7 @@ return [ // Service providers - 'providers' => [ + 'providers' => [ \Engelsystem\Logger\LoggerServiceProvider::class, \Engelsystem\Exceptions\ExceptionsServiceProvider::class, \Engelsystem\Config\ConfigServiceProvider::class, @@ -13,5 +13,15 @@ return [ \Engelsystem\Database\DatabaseServiceProvider::class, \Engelsystem\Http\RequestServiceProvider::class, \Engelsystem\Http\SessionServiceProvider::class, + \Engelsystem\Http\ResponseServiceProvider::class, + \Engelsystem\Http\Psr7ServiceProvider::class, + ], + + // Application middleware + 'middleware' => [ + \Engelsystem\Middleware\SendResponseHandler::class, + \Engelsystem\Middleware\ExceptionHandler::class, + \Engelsystem\Middleware\LegacyMiddleware::class, + \Engelsystem\Middleware\NotFoundResponse::class, ], ]; |