Skip to content

Commit 2d6d78c

Browse files
committed
minor #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 #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

+2-3
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)