interface DecoderInterface
Envelope | decode(array $encodedEnvelope) Decodes an envelope and its message from an encoded-form. |
Decodes an envelope and its message from an encoded-form.
The $encodedEnvelope
parameter is a key-value array that describes the envelope and its content, that will be used by the different transports.
The most common keys are: - body
(string) - the message body - headers
(string
array | $encodedEnvelope |
Envelope |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Messenger/Transport/Serialization/DecoderInterface.html