public function addServer($url, $weight = null, $mock = null)
    {
        $this->servers[$url] = $weight;
    }
public function addServer($url, $weight = null, $mock = null)
    {
        $this->servers[$url] = $weight;
    }
public function addServer ( $ url , $ weight = null , $ mock = null ) { $ this -> servers [ $ url ] = $ weight ; }
Adds mongo server
@param string $url URL
@param integer $weight Weight
@param mixed $mock @deprecated
@return void
Adds mongo server