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 d45acbf

Browse filesBrowse files
committed
minor #14069 Add information about resolver argument priority (casahugo)
This PR was submitted for the 5.1 branch but it was squashed and merged into the 4.4 branch instead. Discussion ---------- Add information about resolver argument priority Fixes symfony/symfony#37799 Commits ------- 2936b31 Add information about resolver argument priority
2 parents c1c550f + 2936b31 commit d45acbf
Copy full SHA for d45acbf

File tree

1 file changed

+1
-0
lines changed
Filter options

1 file changed

+1
-0
lines changed

‎controller/argument_value_resolver.rst

Copy file name to clipboardExpand all lines: controller/argument_value_resolver.rst
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ priority of 100. As this one is responsible for fetching attributes from the
250250
lower priority. This makes sure the argument resolvers are not triggered when
251251
the attribute is present. For instance, when passing the user along a
252252
sub-requests.
253+
However, if the argument is resolved from a request attribute, it is necessary to set a priority of at least 100 otherwise the resolver will not be executed.
253254

254255
.. tip::
255256

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.