|
The MongoDB\BSON\Serializable interfaceIntroductionClasses that implement this interface may return data to be serialized as a BSON array or document in lieu of the object's public properties. Interface synopsisMongoDB\BSON\Serializable
class MongoDB\BSON\Serializable
implements
MongoDB\BSON\Type {
/* Methods */
abstract public arraystdClassMongoDB\BSON\DocumentMongoDB\BSON\PackedArray bsonSerialize()
}Changelog
|