Methods

Generates a storable representation of a value.

serialize(mixed $value) : string

Parameters

$value

mixed

Data to serialize

Exceptions

\Zend\Serializer\Exception\ExceptionInterface

Returns

string

Creates a PHP value from a stored representation.

unserialize(string $serialized) : mixed

Parameters

$serialized

string

Serialized string

Exceptions

\Zend\Serializer\Exception\ExceptionInterface

Returns

mixed