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 d53cc63 commit ab6387eCopy full SHA for ab6387e
messenger.rst
@@ -2512,6 +2512,15 @@ wherever you need a query bus behavior instead of the ``MessageBusInterface``::
2512
}
2513
2514
2515
+You also can also specify stamps when handling a message. For example, you can
2516
+add an ``DoctrineFlushStamp`` to flush the entity manager after handling the message::
2517
+
2518
+ $this->handle(new SomeMessage($data), [new DoctrineFlushStamp()]);
2519
2520
+.. versionadded:: 7.3
2521
2522
+ The ``$stamps`` parameter on the handle method was introduced in Symfony 7.3.
2523
2524
Customizing Handlers
2525
--------------------
2526
0 commit comments