public function readSecondaryPreferred(array $tags = null) { $this->readPreference = array('type' => \MongoClient::RP_SECONDARY_PREFERRED, 'tagsets' => $tags); return $this; }