Skip to content

Commit 16bfe91

Browse files
committed
minor #17005 [HttpKernel] Mention the PSR-7 resolver (javiereguiluz)
This PR was merged into the 5.4 branch. Discussion ---------- [HttpKernel] Mention the PSR-7 resolver Fixes #16514. Commits ------- 50562e8 [HttpKernel] Mention the PSR-7 resolver
2 parents 16df40b + 50562e8 commit 16bfe91

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

controller/argument_value_resolver.rst

+6
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ In addition, some components and official bundles provide other value resolvers:
5454
can be set to ``null`` in case the controller can be accessed by anonymous
5555
users. It requires installing the :doc:`SecurityBundle </security>`.
5656

57+
PSR-7 Objects Resolver:
58+
Injects a Symfony HttpFoundation ``Request`` object created from a PSR-7 object
59+
of type :class:`Psr\\Http\\Message\\ServerRequestInterface`,
60+
:class:`Psr\\Http\\Message\\RequestInterface` or :class:`Psr\\Http\\Message\\MessageInterface`.
61+
It requires installing :doc:`the PSR-7 Bridge </components/psr7>`_ component.
62+
5763
Adding a Custom Value Resolver
5864
------------------------------
5965

0 commit comments

Comments
 (0)