mirror of
https://github.com/predis/predis.git
synced 2026-08-30 04:02:22 +00:00
Merge remote-tracking branch 'github/pr/332'
This commit is contained in:
@@ -23,9 +23,24 @@ use Predis\Replication\ReplicationStrategy;
|
||||
*/
|
||||
class MasterSlaveReplication implements ReplicationInterface
|
||||
{
|
||||
/**
|
||||
* @var ReplicationStrategy
|
||||
*/
|
||||
protected $strategy;
|
||||
|
||||
/**
|
||||
* @var NodeConnectionInterface
|
||||
*/
|
||||
protected $master;
|
||||
|
||||
/**
|
||||
* @var NodeConnectionInterface[]
|
||||
*/
|
||||
protected $slaves;
|
||||
|
||||
/**
|
||||
* @var NodeConnectionInterface
|
||||
*/
|
||||
protected $current;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user