SerializerInterface
interface SerializerInterface
Methods
string
serialize(mixed$data,string$format,array$context =[])
Serializes data in the appropriate format.
mixed
deserialize(mixed$data,string$type,string$format,array$context =[])
Deserializes data into the given type.