public function Redis_Tests_Client_MockFactory::getClient in Redis 7.3
Get the connected client instance.
Parameters
array $options: Options from the server pool configuration that may contain:
- host
- port
- database
- password
- socket
Return value
mixed Real client depends from the library behind.
Overrides Redis_Client_FactoryInterface::getClient
File
- lib/
Redis/ Tests/ Client/ MockFactory.php, line 5
Class
Code
public function getClient($options = array()) {
return (object) $options;
}