diff --git a/components/event_dispatcher.rst b/components/event_dispatcher.rst index f3edc1a5cec..0ea0f54af91 100644 --- a/components/event_dispatcher.rst +++ b/components/event_dispatcher.rst @@ -147,11 +147,10 @@ The ``addListener()`` method takes up to three arguments: #. The event name (string) that this listener wants to listen to; #. A PHP callable that will be executed when the specified event is dispatched; -#. An optional priority integer (higher equals more important and therefore - that the listener will be triggered earlier) that determines when a listener - is triggered versus other listeners (defaults to ``0``). If two listeners - have the same priority, they are executed in the order that they were - added to the dispatcher. +#. An optional priority, defined as a positive or negative integer (defaults to + ``0``). The higher the priority, the earlier the listener is called. If two + listeners have the same priority, they are executed in the order that they + were added to the dispatcher. .. note:: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy