Skip to content

Commit 9d999ce

Browse files
committed
Tweaks
1 parent 05f7d41 commit 9d999ce

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

controller/value_resolver.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ In that specific case, you don't need any resolver running before
228228
but also prevent one of them providing a value before ``SessionValueResolver``
229229
has a chance to.
230230

231-
The :class:`Symfony\\Component\\HttpKernel\\Attribute\\ValueResolver` attribute lets you
232-
do this by "targeting" the resolver you want::
231+
The :class:`Symfony\\Component\\HttpKernel\\Attribute\\ValueResolver` attribute
232+
lets you do this by "targeting" the resolver you want::
233233

234234
// src/Controller/SessionController.php
235235
namespace App\Controller;
@@ -256,11 +256,11 @@ do this by "targeting" the resolver you want::
256256

257257
The ``ValueResolver`` attribute was introduced in Symfony 6.3.
258258

259-
In the example above, the ``SessionValueResolver`` will be called first because it is
260-
targeted. The ``DefaultValueResolver`` will be called next if no value has been provided;
261-
that's why we can assign ``null`` as ``$session``'s default value.
259+
In the example above, the ``SessionValueResolver`` will be called first because
260+
it is targeted. The ``DefaultValueResolver`` will be called next if no value has
261+
been provided; that's why you can assign ``null`` as ``$session``'s default value.
262262

263-
We target a resolver by passing its name as ``ValueResolver``'s first argument.
263+
You can target a resolver by passing its name as ``ValueResolver``'s first argument.
264264
For convenience, built-in resolvers' name are their FQCN.
265265

266266
A targeted resolver can also be disabled by passing ``ValueResolver``'s ``$disabled``

0 commit comments

Comments
 (0)