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

This commit is contained in:
Daniele Alessandri
2012-03-18 13:00:28 +01:00
parent 51d0b58cd3
commit c394458b80
-12
View File
@@ -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.
*