소스 검색

Rename Predis\Network\ConnectionCluster to Predis\Network\PredisCluster.

Daniele Alessandri 14 년 전
부모
커밋
724543a4e6
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 2
      lib/Predis/Client.php
  2. 1 1
      lib/Predis/Network/PredisCluster.php

+ 1 - 2
lib/Predis/Client.php

@@ -5,9 +5,8 @@ namespace Predis;
 use Predis\Commands\ICommand;
 use Predis\Network\IConnection;
 use Predis\Network\IConnectionSingle;
-use Predis\Network\ConnectionCluster;
-use Predis\Profiles\ServerProfile;
 use Predis\Profiles\IServerProfile;
+use Predis\Profiles\ServerProfile;
 
 class Client {
     const VERSION = '0.7.0-dev';

+ 1 - 1
lib/Predis/Network/ConnectionCluster.php → lib/Predis/Network/PredisCluster.php

@@ -8,7 +8,7 @@ use Predis\Commands\ICommand;
 use Predis\Distribution\IDistributionStrategy;
 use Predis\Distribution\HashRing;
 
-class ConnectionCluster implements IConnectionCluster, \IteratorAggregate {
+class PredisCluster implements IConnectionCluster, \IteratorAggregate {
     private $_pool, $_distributor;
 
     public function __construct(IDistributionStrategy $distributor = null) {