소스 검색

Remove an almost useless method from Predis\Profile\ServerProfile.

Daniele Alessandri 13 년 전
부모
커밋
c394458b80
1개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. 0 12
      lib/Predis/Profile/ServerProfile.php

+ 0 - 12
lib/Predis/Profile/ServerProfile.php

@@ -180,18 +180,6 @@ abstract class ServerProfile implements ServerProfileInterface, CommandProcessin
         return $command;
     }
 
-    /**
-     * Defines new commands in the server profile.
-     *
-     * @param array $commands Named list of command IDs and their classes.
-     */
-    public function defineCommands(Array $commands)
-    {
-        foreach ($commands as $alias => $command) {
-            $this->defineCommand($alias, $command);
-        }
-    }
-
     /**
      * Defines a new commands in the server profile.
      *