Skip to content

Commit 1009ca2

Browse files
committed
Do not hardcode priorities
1 parent 50450a4 commit 1009ca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller/value_resolver.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ Managing Value Resolvers
218218

219219
For each argument, every resolver tagged with ``controller.argument_value_resolver``
220220
will be called until one provides a value. The order in which they are called depends
221-
on their priority. For example, the ``SessionValueResolver`` (priority 50) will be
222-
called before the ``DefaultValueResolver`` (priority -100) which allows to write e.g.
221+
on their priority. For example, the ``SessionValueResolver`` will be called before the
222+
``DefaultValueResolver`` because its priority is higher. This allows to write e.g.
223223
``SessionInterface $session = null`` to get the session if there is one, or ``null``
224224
if there is none.
225225

0 commit comments

Comments
 (0)