File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
nyholm/psr7/1.0/config/packages Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
services :
2
- _defaults :
3
- public : false
4
-
5
2
# Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)
6
3
Psr\Http\Message\RequestFactoryInterface : ' @nyholm.psr7.psr17_factory'
7
4
Psr\Http\Message\ResponseFactoryInterface : ' @nyholm.psr7.psr17_factory'
@@ -10,5 +7,15 @@ services:
10
7
Psr\Http\Message\UploadedFileFactoryInterface : ' @nyholm.psr7.psr17_factory'
11
8
Psr\Http\Message\UriFactoryInterface : ' @nyholm.psr7.psr17_factory'
12
9
10
+ # Register nyholm/psr7 services for autowiring with HTTPlug factories
11
+ Http\Message\MessageFactory : ' @nyholm.psr7.httplug_factory'
12
+ Http\Message\RequestFactory : ' @nyholm.psr7.httplug_factory'
13
+ Http\Message\ResponseFactory : ' @nyholm.psr7.httplug_factory'
14
+ Http\Message\StreamFactory : ' @nyholm.psr7.httplug_factory'
15
+ Http\Message\UriFactory : ' @nyholm.psr7.httplug_factory'
16
+
13
17
nyholm.psr7.psr17_factory :
14
18
class : Nyholm\Psr7\Factory\Psr17Factory
19
+
20
+ nyholm.psr7.httplug_factory :
21
+ class : Nyholm\Psr7\Factory\HttplugFactory
You can’t perform that action at this time.
0 commit comments