PhpNativeSerializer
in package
implements
MessageSerializer
Read onlyYes
FinalYes
Tags
Table of Contents
Interfaces
Methods
- deserialize() : object
- Deserializes a string representation back into a message object.
- serialize() : string
- Serializes a message object to a string representation.
Methods
deserialize()
Deserializes a string representation back into a message object.
public
deserialize(string $data, string $type) : object
Parameters
- $data : string
- $type : string
Tags
Return values
objectserialize()
Serializes a message object to a string representation.
public
serialize(object $message) : string
Parameters
- $message : object