Ver Fonte

Nothing relevant, just reorganizing some private members.

Daniele Alessandri há 13 anos atrás
pai
commit
24aaa2ac23
1 ficheiros alterados com 6 adições e 2 exclusões
  1. 6 2
      lib/Predis/Client.php

+ 6 - 2
lib/Predis/Client.php

@@ -12,15 +12,19 @@ use Predis\Transaction\MultiExecContext;
 
 class Client {
     const VERSION = '0.7.0-dev';
-    private $_options, $_connectionFactory, $_profile, $_connection;
+
+    private $_options;
+    private $_profile;
+    private $_connectionFactory;
+    private $_connection;
 
     public function __construct($parameters = null, $options = null) {
         $options = $this->filterOptions($options);
-        $this->_options = $options;
         $profile = $options->profile;
         if (isset($options->prefix)) {
             $profile->setProcessor($options->prefix);
         }
+        $this->_options = $options;
         $this->_profile = $profile;
         $this->_connectionFactory = $options->connections;
         $this->_connection = $this->initializeConnection($parameters);