8000 Deprecate all occurrences of ArgumentValueResolverInterface · symfony/symfony-docs@86ed5fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 86ed5fe

Browse files
committed
Deprecate all occurrences of ArgumentValueResolverInterface
1 parent 09ccaf4 commit 86ed5fe

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

components/http_kernel.rst

+9-2
Original file line numberDiff line numberDiff line change
@@ -340,12 +340,19 @@ of arguments that should be passed when executing that callable.
340340
available through the `variadic`_ argument.
341341

342342
This functionality is provided by resolvers implementing the
343-
:class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolverInterface`.
343+
:class:`Symfony\\Component\\HttpKernel\\Controller\\ValueResolverInterface`.
344344
There are four implementations which provide the default behavior of
345345
Symfony but customization is the key here. By implementing the
346-
``ArgumentValueResolverInterface`` yourself and passing this to the
346+
``ValueResolverInterface`` yourself and passing this to the
347347
``ArgumentResolver``, you can extend this functionality.
348348

349+
.. versionadded:: 6.2
350+
351+
The ``ValueResolverInterface`` was introduced in Symfony 6.2. Prior to
352+
6.2, you had to use the
353+
8000 :class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolverInterface`,
354+
which defines different methods.
355+
349356
.. _component-http-kernel-calling-controller:
350357

351358
5) Calling the Controller

reference/dic_tags.rst

+8-1
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)
0