Skip to content

Commit c05dacf

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: Reword Minor tweak Clarify the code flow a little bit more Specify explicitly what a priority of message handlers mean
2 parents cef6cd8 + f4b5eab commit c05dacf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

components/runtime.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ So how does this front-controller work? At first, the special
3636
the component. This file runs the following logic:
3737

3838
#. It instantiates a :class:`Symfony\\Component\\Runtime\\RuntimeInterface`;
39+
#. The front-controller script (e.g. ``public/index.php``) is included by the
40+
runtime, making it run again. Ensure this doesn't produce any side effects
41+
in your code;
3942
#. The callable (returned by ``public/index.php``) is passed to the Runtime, whose job
4043
is to resolve the arguments (in this example: ``array $context``);
4144
#. Then, this callable is called to get the application (``App\Kernel``);

messenger.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2628,7 +2628,8 @@ Possible options to configure with tags are:
26282628
Name of the method that will process the message.
26292629

26302630
``priority``
2631-
Priority of the handler when multiple handlers can process the same message.
2631+
Defines the order in which the handler is executed when multiple handlers
2632+
can process the same message; those with higher priority run first.
26322633

26332634
.. _handler-subscriber-options:
26342635

0 commit comments

Comments
 (0)