(mongodb >=1.2.0)
MongoDB\BSON\ObjectID::serialize — Serialize an ObjectID
This function has no parameters.
Returns the serialized representation of the MongoDB\BSON\ObjectID.