MarshallerInterface
interface MarshallerInterface
Serializes/unserializes PHP values.
Implementations of this interface MUST deal with errors carefully. They MUST also deal with forward and backward compatibility at the storage format level.
Methods
array
marshall(array$values,array|null$failed)
Serializes a list of values.
mixed
unmarshall(string$value)
Unserializes a single value and throws an exception if anything goes wrong.