mirror of
https://github.com/predis/predis.git
synced 2026-08-30 12:15:03 +00:00
Renamed Predis\Client::setServerProfile to Predis\Client::setProfile.
This commit is contained in:
+2
-2
@@ -15,7 +15,7 @@ class Client {
|
||||
private $_connection, $_serverProfile;
|
||||
|
||||
public function __construct($parameters = null, RedisServerProfile $serverProfile = null) {
|
||||
$this->setServerProfile(
|
||||
$this->setProfile(
|
||||
$serverProfile === null
|
||||
? RedisServerProfile::getDefault()
|
||||
: $serverProfile
|
||||
@@ -84,7 +84,7 @@ class Client {
|
||||
$this->_connection = $connection;
|
||||
}
|
||||
|
||||
public function setServerProfile(RedisServerProfile $serverProfile) {
|
||||
public function setProfile(RedisServerProfile $serverProfile) {
|
||||
$this->_serverProfile = $serverProfile;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user