Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ac97bd

Browse files
committed
Merge branch '6.3' into 6.4
* 6.3: Fix comma space Deprecate all occurrences of ArgumentValueResolverInterface
2 parents 7cc3e2b + 0ebcb29 commit 4ac97bd

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

components/http_kernel.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,12 +347,19 @@ of arguments that should be passed when executing that callable.
347347
available through the `variadic`_ argument.
348348

349349
This functionality is provided by resolvers implementing the
350-
:class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolverInterface`.
350+
:class:`Symfony\\Component\\HttpKernel\\Controller\\ValueResolverInterface`.
351351
There are four implementations which provide the default behavior of
352352
Symfony but customization is the key here. By implementing the
353-
``ArgumentValueResolverInterface`` yourself and passing this to the
353+
``ValueResolverInterface`` yourself and passing this to the
354354
``ArgumentResolver``, you can extend this functionality.
355355

356+
.. versionadded:: 6.2
357+
358+
The ``ValueResolverInterface`` was introduced in Symfony 6.2. Prior to
359+
6.2, you had to use the
360+
:class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolverInterface`,
361+
which defines different methods.
362+
356363
.. _component-http-kernel-calling-controller:
357364

358365
5) Calling the Controller

http_client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,7 @@ that requires HTTPlug dependencies::
16751675
}
16761676

16771677
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::
16791679

16801680
use Symfony\Component\HttpClient\HttplugClient;
16811681

reference/dic_tags.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,17 @@ controller.argument_value_resolver
333333
**Purpose**: Register a value resolver for controller arguments such as ``Request``
334334

335335
Value resolvers implement the
336-
:class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolverInterface`
336+
:class:`Symfony\\Component\\HttpKernel\\Controller\\ValueResolverInterface`
337337
and are used to resolve argument values for controllers as described here:
338338
:doc:`/controller/argument_value_resolver`.
339339

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+
340347
data_collector
341348
--------------
342349

0 commit comments

Comments
 (0)