src/Envelope/Serializer/StandardMessageInEnvelopeSerializer.php
public function unwrapAndDeserialize($serializedEnvelope)
    {
        $envelope = $this->deserializeEnvelope($serializedEnvelope);

        $message = $this->deserializeMessage($envelope->serializedMessage(), $envelope->messageType());

        return $envelope->withMessage($message);
    }
public function unwrapAndDeserialize($serializedEnvelope)
    {
        $envelope = $this->deserializeEnvelope($serializedEnvelope);

        $message = $this->deserializeMessage($envelope->serializedMessage(), $envelope->messageType());

        return $envelope->withMessage($message);
    }
public function unwrapAndDeserialize ( $ serializedEnvelope ) { $ envelope = $ this -> deserializeEnvelope ( $ serializedEnvelope ) ; $ message = $ this -> deserializeMessage ( $ envelope -> serializedMessage ( ) , $ envelope -> messageType ( ) ) ; return $ envelope -> withMessage ( $ message ) ; }
Deserialize a Message that was wrapped in an Envelope

@{inheritdoc}
Deserialize a Message that was wrapped in an Envelope