Browse Source

Move some classes in new namespaces and refactor some code.

Daniele Alessandri 14 năm trước cách đây
mục cha
commit
3b2681f2c8
3 tập tin đã thay đổi với 1030 bổ sung989 xóa
  1. 1 1
      examples/SimpleDebuggableConnection.php
  2. 1028 987
      lib/Predis.php
  3. 1 1
      test/PredisShared.php

+ 1 - 1
examples/SimpleDebuggableConnection.php

@@ -1,7 +1,7 @@
 <?php
 require_once 'SharedConfigurations.php';
 
-class SimpleDebuggableConnection extends Predis\TcpConnection {
+class SimpleDebuggableConnection extends Predis\Network\TcpConnection {
     private $_debugBuffer = array();
     private $_tstart = 0;
 

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1028 - 987
lib/Predis.php


+ 1 - 1
test/PredisShared.php

@@ -50,7 +50,7 @@ class RC {
     }
 
     private static function createConnection() {
-        $serverProfile = Predis\RedisServerProfile::get('dev');
+        $serverProfile = Predis\Profiles\ServerProfile::get('dev');
         $connection = new Predis\Client(RC::getConnectionArguments(), $serverProfile);
         $connection->connect();
         $connection->select(RC::DEFAULT_DATABASE);

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác