ソースを参照

Make some fields of Predis\Client private.

Daniele Alessandri 9 年 前
コミット
185e31e080
1 ファイル変更13 行追加2 行削除
  1. 13 2
      src/Client.php

+ 13 - 2
src/Client.php

@@ -43,8 +43,19 @@ class Client implements ClientInterface, \IteratorAggregate
 {
     const VERSION = '2.0.0-dev';
 
-    protected $connection;
-    protected $options;
+    /**
+     * @var Predis\Configuration\OptionsInterface
+     */
+    private $options;
+
+    /**
+     * @var Predis\Connection\ConnectionInterface
+     */
+    private $connection;
+
+    /**
+     * @var Predis\Command\FactoryInterface
+     */
     private $commands;
 
     /**