Skip to content

Commit d30bdd5

Browse files
committed
MessageBus::handle does not exit. It is called MessageBus::dispatch
1 parent 0b3df49 commit d30bdd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Example::
6161
])),
6262
]);
6363

64-
$result = $bus->handle(new MyMessage(/* ... */));
64+
$result = $bus->dispatch(new MyMessage(/* ... */));
6565

6666
.. note:
6767

0 commit comments

Comments
 (0)