8000 Merge branch '5.1' into 5.x · symfony/symfony-docs@28db8c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 28db8c6

Browse files
committed
Merge branch '5.1' into 5.x
* 5.1: Do not promote deprecated message_bus service use
2 parents fe40b48 + dd1e877 commit 28db8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Dispatching the Message
8383
-----------------------
8484

8585
You're ready! To dispatch the message (and call the handler), inject the
86-
``message_bus`` service (via the ``MessageBusInterface``), like in a controller::
86+
``messenger.default_bus`` service (via the ``MessageBusInterface``), like in a controller::
8787

8888
// src/Controller/DefaultController.php
8989
namespace App\Controller;

0 commit comments

Comments
 (0)
0