MongoDB\BSON\ObjectId::serialize

(mongodb >=1.2.0)

MongoDB\BSON\ObjectId::serializeSerialize an ObjectId

Description

final public MongoDB\BSON\ObjectId::serialize ( void ) : string

Parameters

This function has no parameters.

Return Values

Returns the serialized representation of the MongoDB\BSON\ObjectId.

Errors/Exceptions

See Also