mirror of
https://github.com/predis/predis.git
synced 2026-09-14 20:37:29 +00:00
Move some classes in new namespaces and refactor some code.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
+816
-791
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user