File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -174,14 +174,15 @@ Hence you can inspect the envelope content and its stamps, or add any::
174174 }
175175 }
176176
177- The above example will forward the message to the next middleware with an additional
178- stamp *if * the message has just been received (i.e. has at least 1 `ReceivedStamp ` stamp).
179- You can create your own stamps by implementing :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ StampInterface `.
180-
181- If you want to examine all stamps on an envelope, you can call ``$envelope->all() ``.
182- This will return all stamps, grouped by type (FQCN). Alternatively, you can
183- iterate through all stamps of a specific type by using the FQCN as first parameter
184- of this method, for example ``$envelope->all(ReceivedStamp::class) ``.
177+ The above example will forward the message to the next middleware with an
178+ additional stamp *if * the message has just been received (i.e. has at least one
179+ ``ReceivedStamp `` stamp). You can create your own stamps by implementing
180+ :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ StampInterface `.
181+
182+ If you want to examine all stamps on an envelope, use the ``$envelope->all() ``
183+ method, which returns all stamps grouped by type (FQCN). Alternatively, you can
184+ iterate through all stamps of a specific type by using the FQCN as first
185+ parameter of this method (e.g. ``$envelope->all(ReceivedStamp::class) ``).
185186
186187.. note ::
187188
You can’t perform that action at this time.
0 commit comments