Skip to content

Commit c76b2c2

Browse files
srozeweaverryan
authored andcommitted
Uses the full service name when configuring the buses from the YAML configuration
1 parent 2409798 commit c76b2c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

messenger.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ this:
195195
196196
# Create buses
197197
buses:
198-
commands: ~
199-
events: ~
198+
messenger.bus.commands: ~
199+
messenger.bus.events: ~
200200
201201
This will generate the ``messenger.bus.commands`` and ``messenger.bus.events`` services
202202
that you can inject in your services.
@@ -257,7 +257,7 @@ within the buses to add some extra capabilities like this:
257257
framework:
258258
messenger:
259259
buses:
260-
default:
260+
messenger.bus.default:
261261
middleware:
262262
# Works with the FQCN if the class discovery is enabled
263263
- App\\Middleware\\MyMiddleware
@@ -278,7 +278,7 @@ you can disable them like this:
278278
framework:
279279
messenger:
280280
buses:
281-
default:
281+
messenger.bus.default:
282282
default_middleware: false
283283
284284
Your own Transport

0 commit comments

Comments
 (0)