Fully Qualified Name: | Laminas\Serializer\Adapter\PythonPickle |
Extends: | AbstractAdapter |
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 |
Constructor.
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable|\PythonPickleOptions | Optional |
Returns:
Get options
Returns: \PythonPickleOptions
Serialize PHP to PythonPickle format
Parameter Name | Type | Description |
---|---|---|
$value | mixed |
Returns: string
Set options
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable|\PythonPickleOptions |
Returns: \PythonPickle
Unserialize from Python Pickle format to PHP
Parameter Name | Type | Description |
---|---|---|
$pickle | string |
Returns: mixed