Nexus API Reference

MessageSerializer

Tags
psalm-api

Serializes and deserializes message objects to and from strings.

Table of Contents

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
throws
MessageDeserializationException
Return values
object

        
On this page

Search results