Sfoglia il codice sorgente

add docblocks to MasterSlaveReplication

Ante Lucic 9 anni fa
parent
commit
c45bb15767
1 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  1. 15 0
      src/Connection/Aggregate/MasterSlaveReplication.php

+ 15 - 0
src/Connection/Aggregate/MasterSlaveReplication.php

@@ -23,9 +23,24 @@ use Predis\Replication\ReplicationStrategy;
  */
  */
 class MasterSlaveReplication implements ReplicationInterface
 class MasterSlaveReplication implements ReplicationInterface
 {
 {
+    /**
+     * @var ReplicationStrategy
+     */
     protected $strategy;
     protected $strategy;
+
+    /**
+     * @var NodeConnectionInterface
+     */
     protected $master;
     protected $master;
+
+    /**
+     * @var NodeConnectionInterface[]
+     */
     protected $slaves;
     protected $slaves;
+
+    /**
+     * @var NodeConnectionInterface
+     */
     protected $current;
     protected $current;
 
 
     /**
     /**