Remove almost useless method.

This commit is contained in:
Daniele Alessandri
2012-04-28 09:23:41 +02:00
parent 2d0b30dac5
commit 214b7d2dc9
5 changed files with 20 additions and 43 deletions
+1 -14
View File
@@ -30,16 +30,14 @@ abstract class AbstractConnection implements SingleConnectionInterface
private $cachedId;
protected $parameters;
protected $initCmds;
protected $initCmds = array();
/**
* @param ConnectionParametersInterface $parameters Parameters used to initialize the connection.
*/
public function __construct(ConnectionParametersInterface $parameters)
{
$this->initCmds = array();
$this->parameters = $this->checkParameters($parameters);
$this->initializeProtocol($parameters);
}
/**
@@ -72,17 +70,6 @@ abstract class AbstractConnection implements SingleConnectionInterface
}
}
/**
* Initializes some common configurations of the underlying protocol processor
* from the connection parameters.
*
* @param ConnectionParametersInterface $parameters Parameters used to initialize the connection.
*/
protected function initializeProtocol(ConnectionParametersInterface $parameters)
{
// NOOP
}
/**
* Creates the underlying resource used to communicate with Redis.
*