|
|
@ -25,12 +25,6 @@ class RedisDebug |
|
|
|
{ |
|
|
|
$command = $this->r_implode(', ', $arguments); |
|
|
|
$profiler = Profiler::getInstance()->profilerCommand('Redis->' . $name, $command); |
|
|
|
|
|
|
|
$search = array_search($name, get_class_methods($this->redis)); |
|
|
|
|
|
|
|
if (empty($search)) { |
|
|
|
throw new GeneralException('undefined method:'.$name); |
|
|
|
} |
|
|
|
$data = call_user_func_array(array($this->redis, $name), $arguments); |
|
|
|
$profiler->end(); |
|
|
|
return $data; |
|
|
|