MongoDB\BSON\ObjectId
PHP Manual

MongoDB\BSON\ObjectId::unserialize

(mongodb >=1.2.0)

MongoDB\BSON\ObjectId::unserializeUnserialize an ObjectId

Description

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

Parameters

serialized

The serialized MongoDB\BSON\ObjectId.

Return Values

Returns the unserialized MongoDB\BSON\ObjectId.

Errors/Exceptions

See Also


MongoDB\BSON\ObjectId
PHP Manual