MongoDB\Driver\ReadPreference::unserialize

(mongodb >=1.7.0)

MongoDB\Driver\ReadPreference::unserializeUnserialize a ReadPreference

说明

final public MongoDB\Driver\ReadPreference::unserialize(string $serialized): void

参数

serialized

The serialized MongoDB\Driver\ReadPreference.

返回值

Returns the unserialized MongoDB\Driver\ReadPreference.

错误/异常

参见