Skip to content

Commit 2492952

Browse files
pierremarichezwouterj
authored andcommitted
Fix priority range values for event listeners.
1 parent 914345a commit 2492952

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)