Add a memcached server to connection pool
string $host:
integer $port:
integer $weight:
boolean
public function addServer($host, $port = 11211, $weight = 0) {
if ('127.0.0.1' == $host && 11211 == $port) {
$this->connected = true;
return true;
}
return false;
}