Serialize the given value so that it can be extracted by the hydrator.
Parameters: | mixed – The original value. |
---|---|
Return type: | mixed Returns the value that should be extracted. |
Unserialize the given value so that it can be hydrated by the hydrator.
Parameters: | mixed – The original value. |
---|---|
Return type: | mixed Returns the value that should be hydrated. |
Set serializer
Parameters: | string|SerializerAdapter – |
---|---|
Return type: | Serializer |