Skip to content

Commit 3bbc3ea

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: [REFACTOR] Messenger - Serializer groups
2 parents 17f26b8 + 1a198b4 commit 3bbc3ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/messenger.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ through the transport layer, use the ``SerializerStamp`` stamp::
135135

136136
$bus->dispatch(
137137
(new Envelope($message))->with(new SerializerStamp([
138+
// groups are applied to the whole message, so make sure
139+
// to define the group for every embedded object
138140
'groups' => ['my_serialization_groups'],
139141
]))
140142
);

0 commit comments

Comments
 (0)