mirror of
https://github.com/predis/predis.git
synced 2026-10-08 21:06:44 +00:00
Rename ConnectionInterface::writeCommand() to writeRequest().
This name is more consistent with its counterpart, readResponse().
This commit is contained in:
@@ -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, '->');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user