package Default
inherited_from \Zend\Serializer\Adapter\AbstractAdapter

 Methods

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

serialize(mixed $value) : string

Parameters

$value

mixed

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 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

Default

null