Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitafc8c31

Browse files
Reworded
1 parent4da8de0 commitafc8c31

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

‎components/event_dispatcher.rst‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,10 @@ The ``addListener()`` method takes up to three arguments:
147147

148148
#. The event name (string) that this listener wants to listen to;
149149
#. A PHP callable that will be executed when the specified event is dispatched;
150-
#. An optional priority integer that determines when a listener is triggered
151-
versus other listeners (defaults to ``0``). A higher priority integer means
152-
the listener will be triggered earlier. So, priority 3 executes before
153-
priority 2. Priority 2 executes before priority 1. Priority 1 executes before
154-
priority 0, and so on. If two listeners have the same priority, they are
155-
executed in the order that they were added to the dispatcher.
150+
#. An optional priority, defined as a positive or negative integer (defaults to
151+
``0``). The higher the priority, the earlier the listener is called. If two
152+
listeners have the same priority, they are executed in the order that they
153+
were added to the dispatcher.
156154

157155
..note::
158156

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp