MongoDB\BSON\ObjectId::serialize — Serialize an ObjectId
This function has no parameters.
Returns the serialized representation of the MongoDB\BSON\ObjectId.