8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b599ce commit 98de595Copy full SHA for 98de595
messenger/handler_results.rst
@@ -11,7 +11,7 @@ You can use this to get the value returned by the handler(s)::
11
use Symfony\Component\Messenger\MessageBusInterface;
12
use Symfony\Component\Messenger\Stamp\HandledStamp;
13
14
- $envelope = $messageBus->dispatch(SomeMessage());
+ $envelope = $messageBus->dispatch(new SomeMessage());
15
16
// get the value that was returned by the last message handler
17
$handledStamp = $envelope->last(HandledStamp::class);
0 commit comments