8000 Fixed the list indents · linaori/symfony-docs@1a19d2e · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a19d2e

Browse files
author
Iltar van der Berg
committed
Fixed the list indents
1 parent 7ddf5d6 commit 1a19d2e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cookbook/controller/argument_value_resolver.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ Functionality Shipped With The HttpKernel
1818

1919
Symfony ships with four value resolvers in the HttpKernel:
2020
* The :class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolver\\ArgumentFromAttributeResolver`
21-
attempts to find a request attribute that matches the name of the argument.
21+
attempts to find a request attribute that matches the name of the argument.
2222

2323
* The :class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolver\\RequestValueResolver`
24-
injects the current ``Request`` if type-hinted with ``Request``, or a sub-class thereof.
24+
injects the current ``Request`` if type-hinted with ``Request``, or a sub-class thereof.
2525

2626
* The :class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolver\\DefaultValueResolver`
27-
will set the default value of the argument if present and the argument is optional.
27+
will set the default value of the argument if present and the argument is optional.
2828

2929
* The :class:`Symfony\\Component\\HttpKernel\\Controller\\ArgumentValueResolver\\VariadicValueResolver`
30-
verifies in the request if your data is an array and will add all of them to the argument list.
31-
When the action is called, the last (variadic) argument will contain all the values of this array.
30+
verifies in the request if your data is an array and will add all of them to the argument list.
31+
When the action is called, the last (variadic) argument will contain all the values of this array.
3232

3333
.. note::
3434

@@ -64,16 +64,16 @@ This interface specifies that you have to implement two methods::
6464
}
6565

6666
* The ``supports()`` method is used to check whether the resolver supports the given argument. It will
67-
only continue if it returns ``true``.
67+
only continue if it returns ``true``.
6868

6969
* The ``resolve()`` method will be used to resolve the actual value just acknowledged by
70-
``supports()``. Once a value is resolved you can ``yield`` the value to the ``ArgumentResolver``.
70+
``supports()``. Once a value is resolved you can ``yield`` the value to the ``ArgumentResolver``.
7171

7272
* The ``Request`` object is the current ``Request`` which would also be injected into your
73-
action in the forementioned functionality.
73+
action in the forementioned functionality.
7474

7575
* The :class:``Symfony\\Component\\HttpKernel\\ControllerMetadata\\ArgumentMetadata`` represents
76-
information retrieved from the method signature for the current argument it's trying to resolve.
76+
information retrieved from the method signature for the current argument it's trying to resolve.
7777

7878
.. note::
7979

0 commit comments

Comments
 (0)
0