File tree 3 files changed +18
-4
lines changed
3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -335,12 +335,19 @@ of arguments that should be passed when executing that callable.
335
335
available through the `variadic `_ argument.
336
336
337
337
This functionality is provided by resolvers implementing the
338
- :class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ArgumentValueResolverInterface `.
338
+ :class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ValueResolverInterface `.
339
339
There are four implementations which provide the default behavior of
340
340
Symfony but customization is the key here. By implementing the
341
- ``ArgumentValueResolverInterface `` yourself and passing this to the
341
+ ``ValueResolverInterface `` yourself and passing this to the
342
342
``ArgumentResolver ``, you can extend this functionality.
343
343
344
+ .. versionadded :: 6.2
345
+
346
+ The ``ValueResolverInterface `` was introduced in Symfony 6.2. Prior to
347
+ 6.2, you had to use the
348
+ :class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ArgumentValueResolverInterface `,
349
+ which defines different methods.
350
+
344
351
.. _component-http-kernel-calling-controller :
345
352
346
353
5) Calling the Controller
Original file line number Diff line number Diff line change @@ -1675,7 +1675,7 @@ that requires HTTPlug dependencies::
1675
1675
}
1676
1676
1677
1677
Because :class: `Symfony\\ Component\\ HttpClient\\ HttplugClient ` implements the
1678
- three interfaces,you can use it this way::
1678
+ three interfaces, you can use it this way::
1679
1679
1680
1680
use Symfony\Component\HttpClient\HttplugClient;
1681
1681
Original file line number Diff line number Diff line change @@ -333,10 +333,17 @@ controller.argument_value_resolver
333
333
**Purpose **: Register a value resolver for controller arguments such as ``Request ``
334
334
335
335
Value resolvers implement the
336
- :class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ArgumentValueResolverInterface `
336
+ :class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ValueResolverInterface `
337
337
and are used to resolve argument values for controllers as described here:
338
338
:doc: `/controller/argument_value_resolver `.
339
339
340
+ .. versionadded :: 6.2
341
+
342
+ The ``ValueResolverInterface `` was introduced in Symfony 6.2. Prior to
343
+ 6.2, you had to use the
344
+ :class: `Symfony\\ Component\\ HttpKernel\\ Controller\\ ArgumentValueResolverInterface `,
345
+ which defines different methods.
346
+
340
347
data_collector
341
348
--------------
342
349
You can’t perform that action at this time.
0 commit comments