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