Zend\Cache\Storage\Adapter\RedisOptions::setServer
Set server
Server can be described as follows: - URI: /path/to/sock.sock - Assoc: array('host' => <host>[, 'port' => <port>[, 'timeout' => <timeout>]]) - List: array(<host>[, <port>, [, <timeout>]])
Signature
public function setServer(string|array
$server )
Parameters
$server
— object
Returns
- RedisOptions