mirror of
https://github.com/symfony/recipes.git
synced 2026-09-17 01:56:26 +03:00
42 lines
2.2 KiB
JSON
42 lines
2.2 KiB
JSON
{
|
|
"manifests": {
|
|
"nyholm/psr7": {
|
|
"manifest": {
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/nyholm_psr7.yaml": {
|
|
"contents": [
|
|
"services:",
|
|
" # Register nyholm/psr7 services for autowiring with PSR-17 (HTTP factories)",
|
|
" Psr\\Http\\Message\\RequestFactoryInterface: '@nyholm.psr7.psr17_factory'",
|
|
" Psr\\Http\\Message\\ResponseFactoryInterface: '@nyholm.psr7.psr17_factory'",
|
|
" Psr\\Http\\Message\\ServerRequestFactoryInterface: '@nyholm.psr7.psr17_factory'",
|
|
" Psr\\Http\\Message\\StreamFactoryInterface: '@nyholm.psr7.psr17_factory'",
|
|
" Psr\\Http\\Message\\UploadedFileFactoryInterface: '@nyholm.psr7.psr17_factory'",
|
|
" Psr\\Http\\Message\\UriFactoryInterface: '@nyholm.psr7.psr17_factory'",
|
|
"",
|
|
" # Register nyholm/psr7 services for autowiring with HTTPlug factories",
|
|
" Http\\Message\\MessageFactory: '@nyholm.psr7.httplug_factory'",
|
|
" Http\\Message\\RequestFactory: '@nyholm.psr7.httplug_factory'",
|
|
" Http\\Message\\ResponseFactory: '@nyholm.psr7.httplug_factory'",
|
|
" Http\\Message\\StreamFactory: '@nyholm.psr7.httplug_factory'",
|
|
" Http\\Message\\UriFactory: '@nyholm.psr7.httplug_factory'",
|
|
"",
|
|
" nyholm.psr7.psr17_factory:",
|
|
" class: Nyholm\\Psr7\\Factory\\Psr17Factory",
|
|
"",
|
|
" nyholm.psr7.httplug_factory:",
|
|
" class: Nyholm\\Psr7\\Factory\\HttplugFactory",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "0cd4d2d0e7f646fda75f9944f747a56e6ed13d4c"
|
|
}
|
|
}
|
|
}
|