Unserializable
interface Unserializable implements Type (View source)
Classes that implement this interface may be specified in a type map for unserializing BSON arrays and documents (both root and embedded).
Methods
bsonUnserialize(array $data)
Constructs the object from a BSON array or document Called during unserialization of the object from BSON.
Details
bsonUnserialize(array $data)
Constructs the object from a BSON array or document Called during unserialization of the object from BSON.
The properties of the BSON array or document will be passed to the method as an array.