Add new Predis\Client::getOptions() method.

This commit is contained in:
Daniele Alessandri
2011-01-09 10:53:52 +01:00
parent 48a47aa503
commit bcfb568d1a
+4
View File
@@ -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(