File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -2525,19 +2525,15 @@ wherever you need a query bus behavior instead of the ``MessageBusInterface``::
25252525 }
25262526 }
25272527
2528- You also can also add stamps when handling a message. For example, you can
2529- add an ``DoctrineFlushStamp `` to flush the entity manager after handling the message::
2528+ You can also add new stamps when handling a message; they will be appended
2529+ to the existing ones. For example, you can add a ``DoctrineFlushStamp `` to
2530+ flush the entity manager after handling the message::
25302531
25312532 $this->handle(new SomeMessage($data), [new DoctrineFlushStamp()]);
25322533
2533- .. note ::
2534-
2535- If adding a stamp of the same type that already exists in the envelope,
2536- both stamps will be kept (see `Envelopes & Stamps `_).
2537-
25382534.. versionadded :: 7.3
25392535
2540- The ``$stamps `` parameter on the handle method was introduced in Symfony 7.3.
2536+ The ``$stamps `` parameter of the `` handle() `` method was introduced in Symfony 7.3.
25412537
25422538Customizing Handlers
25432539--------------------
You can’t perform that action at this time.
0 commit comments