8000 Merge pull request #708 from mdpatrick/priority_where · web-dev/symfony-docs@2c06c54 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c06c54

Browse files
committed
Merge pull request symfony#708 from mdpatrick/priority_where
Clarification in regard to priority for custom listeners
2 parents 492300a + 1316c0b commit 2c06c54

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

reference/dic_tags.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ will be called:
112112
113113
.. note::
114114

115-
You can also specify a priority as a positive or negative integer, which
116-
allows you to make sure your listener will always be called before or after
117-
another one.
115+
You can also specify priority as an attribute of the kernel.event_listener
116+
tag (much like the method or event attributes), with either a positive
117+
or negative integer. This allows you to make sure your listener will always
118+
be called before or after another listener listening for the same event.
118119

119120
Enabling Custom Template Engines
120121
--------------------------------

0 commit comments

Comments
 (0)
0