DBPointer
final class DBPointer implements Type, Serializable, JsonSerializable (View source)
BSON type for the "DbPointer" type. This BSON type is deprecated, and this class can not be instantiated. It will be created from a BSON symbol type while converting BSON to PHP, and can also be converted back into BSON while storing documents in the database.
Methods
string|null
serialize()
Serialize a DBPointer
void
unserialize(string $data)
Unserialize a DBPointer
mixed
jsonSerialize()
Returns a representation that can be converted to JSON
string
__toString()
Returns the Symbol as a string
Details
final string|null
serialize()
Serialize a DBPointer
final void
unserialize(string $data)
Unserialize a DBPointer
final mixed
jsonSerialize()
Returns a representation that can be converted to JSON
final string
__toString()
Returns the Symbol as a string