mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"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'",
|
||||
"",
|
||||
" nyholm.psr7.psr17_factory:",
|
||||
" class: Nyholm\\Psr7\\Factory\\Psr17Factory",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "a9f242fbadb1407681c019f38c67ab448b056341"
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-11
@@ -18,24 +18,14 @@
|
||||
" 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"
|
||||
"ref": "a9f242fbadb1407681c019f38c67ab448b056341"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user