MongoDB\BSON\ObjectId::unserialize

(mongodb >=1.2.0)

MongoDB\BSON\ObjectId::unserializeUnserialize an ObjectId

说明

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

参数

serialized

The serialized MongoDB\BSON\ObjectId.

返回值

Returns the unserialized MongoDB\BSON\ObjectId.

错误/异常

参见