refactoring the uri class.

This commit is contained in:
Taylor Otwell
2011-10-24 23:15:29 -05:00
parent 8443cef301
commit a6d487ecd4
2 changed files with 6 additions and 11 deletions

View File

@@ -108,7 +108,7 @@ class Redis {
* @param array $parameters
* @return mixed
*/
public function do($method, $parameters)
public function run($method, $parameters)
{
fwrite($this->connection, $this->command($method, $parameters));
@@ -139,7 +139,7 @@ class Redis {
*/
public function __call($method, $parameters)
{
return $this->do($method, $parameters);
return $this->run($method, $parameters);
}
/**