Rename ConnectionInterface::writeCommand() to writeRequest().

This name is more consistent with its counterpart, readResponse().
This commit is contained in:
Daniele Alessandri
2013-12-02 11:08:14 +01:00
parent 59b9319bb8
commit 4bf0ee4c6a
32 changed files with 80 additions and 76 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ class SimpleDebuggableConnection extends StreamConnection {
$this->debugBuffer[] = $debug;
}
public function writeCommand(CommandInterface $command) {
parent::writeCommand($command);
public function writeRequest(CommandInterface $command) {
parent::writeRequest($command);
$this->storeDebug($command, '->');
}