Explorar o código

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

Daniele Alessandri %!s(int64=13) %!d(string=hai) anos
pai
achega
c394458b80
Modificáronse 1 ficheiros con 0 adicións e 12 borrados
  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.
      *