mirror of
https://github.com/predis/predis.git
synced 2026-10-15 16:26:48 +00:00
Remove almost useless method.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user