$this->getredis()->{$func}($key)
回复内容: $this->getredis()->{$func}($key)
call_user_func([$this->getredis(), $func], $key);
和这个等价的,$this->getredis()返回的是一个拥有$func方法的对象,其参数是$key,这种写法叫做链式操作