diff --git a/messenger.rst b/messenger.rst index 7a4a9afccc2..e68234be838 100644 --- a/messenger.rst +++ b/messenger.rst @@ -83,7 +83,7 @@ Dispatching the Message ----------------------- You're ready! To dispatch the message (and call the handler), inject the -``message_bus`` service (via the ``MessageBusInterface``), like in a controller:: +``messenger.default_bus`` service (via the ``MessageBusInterface``), like in a controller:: // src/Controller/DefaultController.php namespace App\Controller;