| Fully Qualified Name: | Laminas\Hydrator\Strategy\SerializableStrategy |
| Implements: | StrategyInterface |
| Name | Description | Defined By |
|---|---|---|
| __construct() | SerializableStrategy | |
| extract() | Serialize the given value so that it can be extracted by the hydrator. | SerializableStrategy |
| getSerializer() | Get serializer | SerializableStrategy |
| getSerializerOptions() | Get configuration options for instantiating a serializer adapter | SerializableStrategy |
| hydrate() | Unserialize the given value so that it can be hydrated by the hydrator. | SerializableStrategy |
| setSerializer() | Set serializer | SerializableStrategy |
| setSerializerOptions() | Set configuration options for instantiating a serializer adapter | SerializableStrategy |
| Parameter Name | Type | Description |
|---|---|---|
| $serializer | string|\SerializerAdapter | |
| $serializerOptions | null|array |
Returns:
Serialize the given value so that it can be extracted by the hydrator.
{@inheritDoc}
| Parameter Name | Type | Description |
|---|---|---|
| $value | ||
| $object |
Returns:
Get serializer
Returns:
Get configuration options for instantiating a serializer adapter
Returns: array
Unserialize the given value so that it can be hydrated by the hydrator.
{@inheritDoc}
| Parameter Name | Type | Description |
|---|---|---|
| $value | ||
| $data |
Returns:
Set serializer
| Parameter Name | Type | Description |
|---|---|---|
| $serializer | mixed | Should |
Returns:
Set configuration options for instantiating a serializer adapter
| Parameter Name | Type | Description |
|---|---|---|
| $serializerOptions | array |
Returns: