Fully Qualified Name: | Laminas\Serializer\Adapter\MsgPack |
Extends: | AbstractAdapter |
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 |
Constructor
Parameter Name | Type | Description |
---|---|---|
$options |
Returns:
Get adapter options
Returns: \AdapterOptions
Serialize PHP value to msgpack
Parameter Name | Type | Description |
---|---|---|
$value | mixed |
Returns: string
Set adapter options
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable|\AdapterOptions |
Returns: \AbstractAdapter
Deserialize msgpack string to PHP value
Parameter Name | Type | Description |
---|---|---|
$serialized | string |
Returns: mixed