src/Redis/Sentinel.php
public function getSlaveClients($name)
    {
        if (!isset($this->slaves[$name])) {
            $this->slaves[$name] = $this->createSlaveClients($name);
        }

        return $this->slaves[$name];
    }
public function getSlaveClients($name)
    {
        if (!isset($this->slaves[$name])) {
            $this->slaves[$name] = $this->createSlaveClients($name);
        }

        return $this->slaves[$name];
    }
public function getSlaveClients ( $ name ) { if ( ! isset ( $ this -> slaves [ $ name ] ) ) { $ this -> slaves [ $ name ] = $ this -> createSlaveClients ( $ name ) ; } return $ this -> slaves [ $ name ] ; }
If an array of Credis_Client objects exist for a set of slaves, return them. Otherwise create and return them

@param string $name

@return Client[]
@throws RedisException
If an array of Credis_Client objects exist for a set of slaves return them . Otherwise create and return them