mirror of
https://github.com/predis/predis.git
synced 2026-09-16 05:17:02 +00:00
Add new Predis\Client::getOptions() method.
This commit is contained in:
@@ -111,6 +111,10 @@ class Client {
|
||||
return $this->_profile;
|
||||
}
|
||||
|
||||
public function getOptions() {
|
||||
return $this->_options;
|
||||
}
|
||||
|
||||
public function getClientFor($connectionAlias) {
|
||||
if (!Utils::isCluster($this->_connection)) {
|
||||
throw new ClientException(
|
||||
|
||||
Reference in New Issue
Block a user