src/M6Web/Component/Redis/Cache.php
public function info($idServer = null)
    {
        if (is_null($idServer)) {
            $servers = $this->getServerConfig();

            $info = array();
            foreach (array_keys($servers) as $idServer) {
                $redis = $this->getRedisFromServerConfig($idServer);

                $info[$idServer] = $redis->info();
            }
        } else {
            $redis = $this->getRedisFromServerConfig($idServer);

            $info = $redis->info();
        }

        return $info;
    }
public function info($idServer = null)
    {
        if (is_null($idServer)) {
            $servers = $this->getServerConfig();

            $info = array();
            foreach (array_keys($servers) as $idServer) {
                $redis = $this->getRedisFromServerConfig($idServer);

                $info[$idServer] = $redis->info();
            }
        } else {
            $redis = $this->getRedisFromServerConfig($idServer);

            $info = $redis->info();
        }

        return $info;
    }
return info of a server or all
@param string $idServer Id du server

@return mixed