Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1009ca2

Browse filesBrowse files
committed
Do not hardcode priorities
1 parent 50450a4 commit 1009ca2
Copy full SHA for 1009ca2

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎controller/value_resolver.rst

Copy file name to clipboardExpand all lines: controller/value_resolver.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.