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

Generates a storable representation of a value.

serialize(mixed $value) : string
Inherited

inherited_from \Zend\Serializer\Adapter\AdapterInterface::serialize()

Parameters

$value

mixed

Data to serialize

Exceptions

\Zend\Serializer\Exception\ExceptionInterface

Returns

string

Set adapter options

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

Creates a PHP value from a stored representation.

unserialize(string $serialized) : mixed
Inherited

inherited_from \Zend\Serializer\Adapter\AdapterInterface::unserialize()

Parameters

$serialized

string

Serialized string

Exceptions

\Zend\Serializer\Exception\ExceptionInterface

Returns

mixed

 Properties