|
@ -23,8 +23,8 @@ class RedisDebug |
|
|
|
|
|
|
|
|
public function __call($name, $arguments) |
|
|
public function __call($name, $arguments) |
|
|
{ |
|
|
{ |
|
|
$command = $name . '(' . $this->r_implode(', ', $arguments) . ')'; |
|
|
|
|
|
$profiler = Profiler::getInstance()->profilerCommand('redis', $command); |
|
|
|
|
|
|
|
|
$command = $this->r_implode(', ', $arguments); |
|
|
|
|
|
$profiler = Profiler::getInstance()->profilerCommand('Redis->' . $name, $command); |
|
|
$data = call_user_func_array(array($this->redis, $name), $arguments); |
|
|
$data = call_user_func_array(array($this->redis, $name), $arguments); |
|
|
$profiler->end(); |
|
|
$profiler->end(); |
|
|
return $data; |
|
|
return $data; |
|
|