8000 minor #5194 Fix priority range values for event listeners. (chtipepere) · yceruto/symfony-docs@2d6d78c · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d6d78c

Browse files
committed
minor symfony#5194 Fix priority range values for event listeners. (chtipepere)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes symfony#5194). Discussion ---------- Fix priority range values for event listeners. According to http://symfony.com/doc/master/reference/dic_tags.html, priority range is from -1024 to +1024. Commits ------- 2492952 Fix priority range values for event listeners.
2 parents 914345a + 2492952 commit 2d6d78c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cookbook/service_container/event_listener.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,8 @@ using a special "tag":
9696
.. note::
9797

9898
There is an additional tag option ``priority`` that is optional and defaults
99-
to 0. This value can be from -255 to 255, and the listeners will be executed
100-
in the order of their priority (highest to lowest). This is useful when
101-
you need to guarantee that one listener is executed before another.
99+
to 0. The listeners will be executed in the order of their priority (highest to lowest).
100+
This is useful when you need to guarantee that one listener is executed before another.
102101

103102
Request Events, Checking Types
104103
------------------------------

0 commit comments

Comments
 (0)
0