category Zend
package Zend_Serializer
subpackage Adapter

 Methods

Constructor

__construct(array | \Traversable | \Zend\Serializer\Adapter\AdapterOptions $options) 

Parameters

$options

array\Traversable\Zend\Serializer\Adapter\AdapterOptions

Get adapter options

getOptions() : \Zend\Serializer\Adapter\AdapterOptions
Inherited

inherited_from \Zend\Serializer\Adapter\AbstractAdapter::getOptions()

Returns

Serialize using serialize()

serialize(mixed $value) : string

Parameters

$value

mixed

Exceptions

\Zend\Serializer\Exception\RuntimeException On serialize error

Returns

string

Set adapter options

setOptions(array | \Traversable | \Zend\Serializer\Adapter\AdapterOptions $options) : \Zend\Serializer\Adapter\AbstractAdapter
Inherited

inherited_from \Zend\Serializer\Adapter\AbstractAdapter::setOptions()

Parameters

$options

array\Traversable\Zend\Serializer\Adapter\AdapterOptions

Returns

Unserialize

unserialize(string $serialized) : mixed

todo Allow integration with unserialize_callback_func

Parameters

$serialized

string

Exceptions

\Zend\Serializer\Exception\RuntimeException on unserialize error

Returns

mixed

 Properties

 

$options

$options : \Zend\Serializer\Adapter\AdapterOptions
Inherited

inherited_from \Zend\Serializer\Adapter\AbstractAdapter::$$options
 

Serialized boolean false value

$serializedFalse : null | string