Zend\Cache\Storage\Adapter\MemcachedResourceManager::setServers
Set servers
$servers can be an array list or a comma separated list of servers. One server in the list can be descripted as follows: - URI: [tcp://]<host>[:<port>][?weight=<weight>] - Assoc: array('host' => <host>[, 'port' => <port>][, 'weight' => <weight>]) - List: array(<host>[, <port>][, <weight>])
Signature
public function setServers(string
$id,
string|array
$servers )
Parameters
$id
— string$servers
— object
Returns
- MemcachedResourceManager