mirror of
https://github.com/predis/predis.git
synced 2026-10-13 23:37:48 +00:00
Rename Predis\Connection\SingleConnectionInterface::pushInitCommand().
The new name is more explicit as it makes obvious that the commands added with it will be executed upon connect().
This commit is contained in:
@@ -47,7 +47,7 @@ interface SingleConnectionInterface extends ConnectionInterface
|
||||
*
|
||||
* @param CommandInterface $command Instance of a Redis command.
|
||||
*/
|
||||
public function pushInitCommand(CommandInterface $command);
|
||||
public function addConnectCommand(CommandInterface $command);
|
||||
|
||||
/**
|
||||
* Reads a response from the server.
|
||||
|
||||
Reference in New Issue
Block a user