|
@@ -129,16 +129,6 @@ class Client implements ClientInterface
|
|
return $this->options;
|
|
return $this->options;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
- * Returns the connection factory object used by the client.
|
|
|
|
- *
|
|
|
|
- * @return ConnectionFactoryInterface
|
|
|
|
- */
|
|
|
|
- public function getConnectionFactory()
|
|
|
|
- {
|
|
|
|
- return $this->options->connections;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* Returns a new instance of a client for the specified connection when the
|
|
* Returns a new instance of a client for the specified connection when the
|
|
* client is connected to a cluster. The new instance will use the same
|
|
* client is connected to a cluster. The new instance will use the same
|
|
@@ -391,23 +381,6 @@ class Client implements ClientInterface
|
|
return isset($callable) ? $transaction->execute($callable) : $transaction;
|
|
return isset($callable) ? $transaction->execute($callable) : $transaction;
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
- * Creates a new Publish / Subscribe context and returns it, or executes it
|
|
|
|
- * inside the optionally provided callable object.
|
|
|
|
- *
|
|
|
|
- * @deprecated This method will change in the next major release to support
|
|
|
|
- * the new PUBSUB command introduced in Redis 2.8. Please use
|
|
|
|
- * Client::pubSubLoop() to create Predis\PubSub\PubSubContext
|
|
|
|
- * instances from now on.
|
|
|
|
- *
|
|
|
|
- * @param mixed $arg,... Options for the context, a callable object, or both.
|
|
|
|
- * @return PubSubExecContext|array
|
|
|
|
- */
|
|
|
|
- public function pubSub(/* arguments */)
|
|
|
|
- {
|
|
|
|
- return call_user_func_array(array($this, 'pubSubLoop'), func_get_args());
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* Creates a new Publish / Subscribe context and returns it, or executes it
|
|
* Creates a new Publish / Subscribe context and returns it, or executes it
|
|
* inside the optionally provided callable object.
|
|
* inside the optionally provided callable object.
|