MongoDB\BSON\ObjectId::unserialize

(mongodb >=1.2.0)

MongoDB\BSON\ObjectId::unserializeUnserialize an ObjectId

Description

final public MongoDB\BSON\ObjectId::unserialize(string $serialized): void

Parameters

serialized

The serialized MongoDB\BSON\ObjectId.

Return Values

Returns the unserialized MongoDB\BSON\ObjectId.

Errors/Exceptions

See Also