| Fully Qualified Name: | Laminas\Serializer\Adapter\PythonPickleOptions |
| Extends: | AdapterOptions |
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor | AbstractOptions |
| __get() | Get a configuration property | AbstractOptions |
| __isset() | Test if a configuration property is null | AbstractOptions |
| __set() | Set a configuration property | AbstractOptions |
| __unset() | Set a configuration property to NULL | AbstractOptions |
| getProtocol() | Get pickle protocol version to serialize data | PythonPickleOptions |
| setFromArray() | Set one or more configuration properties | AbstractOptions |
| setProtocol() | Set pickle protocol version to serialize data | PythonPickleOptions |
| toArray() | Cast to array | AbstractOptions |
Constructor
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable|null |
Returns:
Get a configuration property
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: mixed
Test if a configuration property is null
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: bool
Set a configuration property
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | |
| $value | mixed |
Returns: void
Set a configuration property to NULL
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: void
Get pickle protocol version to serialize data
Returns: int
Set one or more configuration properties
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable|\AbstractOptions |
Returns: \AbstractOptions Provides fluent interface
Set pickle protocol version to serialize data
Supported versions are 0, 1, 2 and 3
| Parameter Name | Type | Description |
|---|---|---|
| $protocol | int |
Returns: \PythonPickleOptions
Cast to array
Returns: array