Methods

Constructor

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

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

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 PHP using var_export

serialize(mixed $value) : string

Parameters

$value

mixed

Exceptions

\Zend\Serializer\Exception\ExceptionInterface

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

Deserialize PHP string

unserialize(string $code) : mixed

Warning: this uses eval(), and should likely be avoided.

Parameters

$code

string

Exceptions

\Zend\Serializer\Exception\RuntimeException on eval error

Returns

mixed

 Properties

 

$options

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

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