File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Request ID middleware for PHP
2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/php-middleware/request-id.svg?branch=master )] ( https://travis-ci.org/php-middleware/request-id )
4
- [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/php-middleware/request-id/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/php-middleware/request-id/?branch=master )
5
- [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/php-middleware/request-id/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/php-middleware/request-id/?branch=master )
6
- [ ![ Build Status] ( https://scrutinizer-ci.com/g/php-middleware/request-id/badges/build.png?b=master )] ( https://scrutinizer-ci.com/g/php-middleware/request-id/build-status/master )
7
4
8
5
PSR-7 Request ID middleware
9
6
@@ -23,7 +20,7 @@ must create a new `RequestIdProviderInterface` object. We provide `RequestIdProv
23
20
``` php
24
21
$generator = new PhpMiddleware\RequestId\Generator\PhpUniqidGenerator();
25
22
$requestIdProvider = new PhpMiddleware\RequestId\RequestIdProviderFactory($generator);
26
- $requestIdMiddleware = new PhpMiddleware\LogHttpMessages \RequestIdMiddleware($requestIdProvider);
23
+ $requestIdMiddleware = new PhpMiddleware\RequestId \RequestIdMiddleware($requestIdProvider);
27
24
28
25
$app = new MiddlewareRunner();
29
26
$app->add($requestIdMiddleware);
You can’t perform that action at this time.
0 commit comments