Class PythonPickle

Summary

Fully Qualified Name: Zend\Serializer\Adapter\PythonPickle
Extends: AbstractAdapter

Description

Methods

Name Description Defined By
__construct() Constructor. PythonPickle
getOptions() Get options PythonPickle
serialize() Serialize PHP to PythonPickle format PythonPickle
setOptions() Set options PythonPickle
unserialize() Unserialize from Python Pickle format to PHP PythonPickle

Method Details

__construct()

Constructor.

Parameter Name Type Description
$options array|\Traversable|\PythonPickleOptions Optional

Returns:

getOptions()

Get options

Returns: \PythonPickleOptions

serialize()

Serialize PHP to PythonPickle format

Parameter Name Type Description
$value mixed

Returns: string

setOptions()

Set options

Parameter Name Type Description
$options array|\Traversable|\PythonPickleOptions

Returns: \PythonPickle

unserialize()

Unserialize from Python Pickle format to PHP

Parameter Name Type Description
$pickle string

Returns: mixed

Top