package Default
inherited_from \Zend\Serializer\Adapter\AbstractAdapter

 Methods

Constructor

__construct(array|\Traversable|\Zend\Serializer\Adapter\AdapterOptions $options = null
inherited_from \Zend\Serializer\Adapter\AbstractAdapter::__construct()

Parameters

$options

Constructor

__construct(array|\Traversable|\Zend\Serializer\Adapter\AdapterOptions $options = null
Inherited

Parameters

$options

array\Traversable\Zend\Serializer\Adapter\AdapterOptions

Get adapter options

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

Returns

\Zend\Serializer\Adapter\AdapterOptions

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

Parameters

$options

array\Traversable\Zend\Serializer\Adapter\AdapterOptions

Returns

\Zend\Serializer\Adapter\AbstractAdapter

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

Default

null
 

Serialized boolean false value

$serializedFalse : null | string

Default

null
Static