소스 검색

Move some classes in new namespaces and refactor some code.

Daniele Alessandri 14 년 전
부모
커밋
3b2681f2c8
3개의 변경된 파일1030개의 추가작업 그리고 989개의 파일을 삭제
  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;
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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);

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.