Nexus API Reference

PhpNativeSerializer
in package
implements MessageSerializer

Read onlyYes
FinalYes
Tags
psalm-api

Serializer using PHP's native serialize()/unserialize().

Table of Contents

Interfaces

MessageSerializer

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