Skip to content

Commit 4b65fd0

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: [HttpKernel] Mention the PSR-7 resolver
2 parents 651ea2c + 20e17a7 commit 4b65fd0

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
@@ -133,6 +133,12 @@ In addition, some components and official bundles provide other value resolvers:
133133
user has a user class not matching the type-hinted class, an ``AccessDeniedException``
134134
is thrown by the resolver to prevent access to the controller.
135135

136+
PSR-7 Objects Resolver:
137+
Injects a Symfony HttpFoundation ``Request`` object created from a PSR-7 object
138+
of type :class:`Psr\\Http\\Message\\ServerRequestInterface`,
139+
:class:`Psr\\Http\\Message\\RequestInterface` or :class:`Psr\\Http\\Message\\MessageInterface`.
140+
It requires installing :doc:`the PSR-7 Bridge </components/psr7>`_ component.
141+
136142
Adding a Custom Value Resolver
137143
------------------------------
138144

0 commit comments

Comments
 (0)