Class MsgPack

Summary

Fully Qualified Name: Zend\Serializer\Adapter\MsgPack
Extends: AbstractAdapter

Description

Methods

Name Description Defined By
__construct() Constructor MsgPack
getOptions() Get adapter options AbstractAdapter
serialize() Serialize PHP value to msgpack MsgPack
setOptions() Set adapter options AbstractAdapter
unserialize() Deserialize msgpack string to PHP value MsgPack

Method Details

__construct()

Constructor

Parameter Name Type Description
$options

Returns:

getOptions()

Get adapter options

Returns: \AdapterOptions

serialize()

Serialize PHP value to msgpack

Parameter Name Type Description
$value mixed

Returns: string

setOptions()

Set adapter options

Parameter Name Type Description
$options array|\Traversable|\AdapterOptions

Returns: \AbstractAdapter

unserialize()

Deserialize msgpack string to PHP value

Parameter Name Type Description
$serialized string

Returns: mixed

Top