Skip to content

Commit 8f3a8cf

Browse files
committed
Added a recipe for psr-http-message-bridge
1 parent 50d4ec5 commit 8f3a8cf

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
services:
2+
_defaults:
3+
autowire: true
4+
autoconfigure: true
5+
6+
psr_http.http_foundation_factory:
7+
class: Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory
8+
9+
Symfony\Bridge\PsrHttpMessage\HttpFoundationFactoryInterface:
10+
alias: psr_http.http_foundation_factory
11+
12+
psr_http.psr_http_factory:
13+
class: Symfony\Bridge\PsrHttpMessage\Factory\PsrHttpFactory
14+
15+
Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface:
16+
alias: psr_http.psr_http_factory
17+
18+
19+
# Uncomment the following lines to allow controllers to return a
20+
# PSR-7 response object instead of a HttpFoundation response
21+
#
22+
# psr_http.psr_response_listener:
23+
# class: Symfony\Bridge\PsrHttpMessage\EventListener\PsrResponseListener
24+
25+
26+
# Uncomment the following lines to allow controllers to receive a
27+
# PSR-7 server request object instead of a HttpFoundation request
28+
#
29+
# psr_http.psr_server_request_resolver:
30+
# class: Symfony\Bridge\PsrHttpMessage\ArgumentValueResolver\PsrServerRequestResolver
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"copy-from-recipe": {
3+
"config/": "%CONFIG_DIR%/"
4+
}
5+
}

0 commit comments

Comments
 (0)