MongoDB\BSON\MaxKey::serialize
(mongodb >=1.2.0)
MongoDB\BSON\MaxKey::serialize — Serialize a MaxKey
Description
Parameters
This function has no parameters.
Return Values
Returns the serialized representation of the MongoDB\BSON\MaxKey.
Errors/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
See Also
- MongoDB\BSON\MaxKey::unserialize() - Unserialize a MaxKey
- serialize() - Generates a storable representation of a value
- Serializing Objects