Skip to content

Commit cb0bf11

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: [HttpKernel] Mention the PSR-7 resolver
2 parents b2193d8 + 4b65fd0 commit cb0bf11

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

controller/argument_value_resolver.rst

Lines changed: 6 additions & 0 deletions
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)