Rename method ICommand::getCommandId() to ICommand::getId().

This commit is contained in:
Daniele Alessandri
2011-03-04 19:37:10 +01:00
parent 0d5fb3319d
commit 30bc53ee75
124 changed files with 124 additions and 124 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ class ConnectionCluster implements IConnectionCluster, \IteratorAggregate {
public function getConnection(ICommand $command) {
if ($command->canBeHashed() === false) {
throw new ClientException(
sprintf("Cannot send '%s' commands to a cluster of connections", $command->getCommandId())
sprintf("Cannot send '%s' commands to a cluster of connections", $command->getId())
);
}
return $this->_distributor->get($command->getHash($this->_distributor));