Undefined
final class Undefined implements Type, Serializable, JsonSerializable (View source)
BSON type for the "Undefined" type. This BSON type is deprecated, and this class can not be instantiated. It will be created from a BSON undefined 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 an Undefined
void
unserialize(string $data)
Unserialize an Undefined
mixed
jsonSerialize()
Returns a representation that can be converted to JSON
string
__toString()
Returns the Undefined as a string
Details
final string|null
serialize()
Since: 1.2.0
Serialize an Undefined
final void
unserialize(string $data)
Since: 1.2.0
Unserialize an Undefined
final mixed
jsonSerialize()
Since: 1.2.0
Returns a representation that can be converted to JSON
final string
__toString()
Returns the Undefined as a string