We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 540a4ce + 432f303 commit 3980295Copy full SHA for 3980295
components/event_dispatcher/introduction.rst
@@ -456,6 +456,10 @@ indexed by event names and whose values are either the method name to call or
456
an array composed of the method name to call and a priority. The example
457
above shows how to register several listener methods for the same event in
458
subscriber and also shows how to pass the priority of each listener method.
459
+The higher the priority, the earlier the method is called, so in the above
460
+example, when the ``kernel.response`` event is triggered, the methods
461
+``onKernelResponsePre``, ``onKernelResponseMid``, and ``onKernelResponsePost``
462
+are called in that order.
463
464
.. index::
465
single: Event Dispatcher; Stopping event flow
0 commit comments