DefaultEnvelopeSerializer
in package
implements
EnvelopeSerializer
Read onlyYes
FinalYes
Tags
Table of Contents
Interfaces
Methods
- __construct() : mixed
- deserialize() : Envelope
- Deserializes a string representation back into an Envelope.
- serialize() : string
- Serializes an Envelope to a string representation.
Methods
__construct()
public
__construct(MessageSerializer $messageSerializer) : mixed
Parameters
- $messageSerializer : MessageSerializer
deserialize()
Deserializes a string representation back into an Envelope.
public
deserialize(string $data) : Envelope
Parameters
- $data : string
Tags
Return values
Envelopeserialize()
Serializes an Envelope to a string representation.
public
serialize(Envelope $envelope) : string
Parameters
- $envelope : Envelope