(mongodb >=1.7.0)
MongoDB\Driver\ReadPreference::serialize — Serialize a ReadPreference
Questa funzione non contiene parametri.
Returns the serialized representation of the MongoDB\Driver\ReadPreference.