interface SerializerInterface
Defines the interface of the Serializer
Methods
| string |
serialize(mixed $data, string $format, array $context = array())
Serializes data in the appropriate format |
|
| object |
deserialize(mixed $data, string $type, string $format, array $context = array())
Deserializes data into the given type. |
Details
at line 30
public string
serialize(mixed $data, string $format, array $context = array())
Serializes data in the appropriate format
at line 42
public object
deserialize(mixed $data, string $type, string $format, array $context = array())
Deserializes data into the given type.