Ver código fonte

add docblocks to MasterSlaveReplication

Ante Lucic 9 anos atrás
pai
commit
939c0821dd
1 arquivos alterados com 15 adições e 0 exclusões
  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
 {
+    /**
+     * @var ReplicationStrategy
+     */
     protected $strategy;
+
+    /**
+     * @var NodeConnectionInterface
+     */
     protected $master;
+
+    /**
+     * @var NodeConnectionInterface[]
+     */
     protected $slaves;
+
+    /**
+     * @var NodeConnectionInterface
+     */
     protected $current;
 
     /**