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