@@ -228,8 +228,8 @@ In that specific case, you don't need any resolver running before
228
228
but also prevent one of them providing a value before ``SessionValueResolver ``
229
229
has a chance to.
230
230
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::
233
233
234
234
// src/Controller/SessionController.php
235
235
namespace App\Controller;
@@ -256,11 +256,11 @@ do this by "targeting" the resolver you want::
256
256
257
257
The ``ValueResolver `` attribute was introduced in Symfony 6.3.
258
258
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.
262
262
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.
264
264
For convenience, built-in resolvers' name are their FQCN.
265
265
266
266
A targeted resolver can also be disabled by passing ``ValueResolver ``'s ``$disabled ``
0 commit comments