Class PhpSerialize

Summary

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

Description

Methods

Name Description Defined By
__construct() Constructor PhpSerialize
getOptions() Get options PhpSerialize
serialize() Serialize using serialize() PhpSerialize
setOptions() Set options PhpSerialize
unserialize() Unserialize PhpSerialize

Method Details

__construct()

Constructor

Parameter Name Type Description
$options array|\Traversable|\PhpSerializeOptions|null

Returns:

getOptions()

Get options

Returns: \PhpSerializeOptions

serialize()

Serialize using serialize()

Parameter Name Type Description
$value mixed

Returns: string

setOptions()

Set options

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

Returns: \PhpSerialize

unserialize()

Unserialize

Parameter Name Type Description
$serialized string

Returns: mixed

Top