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

Exceptions

\Zend\Serializer\Exception\ExtensionNotLoadedException If igbinary extension is not present

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 PHP value to igbinary

serialize(mixed $value) : string

Parameters

$value

mixed

Exceptions

\Zend\Serializer\Exception\RuntimeException on igbinary 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

Deserialize igbinary string to PHP value

unserialize(string $serialized) : mixed

Parameters

$serialized

string

Exceptions

\Zend\Serializer\Exception\RuntimeException on igbinary error

Returns

mixed

 Properties

 

$options

$options : \Zend\Serializer\Adapter\AdapterOptions

Default

null
 

Serialized null value

$serializedNull : string

Default

null
Static