(mongodb >=1.7.0)
MongoDB\Driver\ReadPreference::serialize — Serialize a ReadPreference
Esta função não possui parâmetros.
Returns the serialized representation of the MongoDB\Driver\ReadPreference.