class Redis_Tests_Client_MockFactory in Redis 7.3
Hierarchy
- class \Redis_Tests_Client_MockFactory implements Redis_Client_FactoryInterface
Expanded class hierarchy of Redis_Tests_Client_MockFactory
File
- lib/Redis/ Tests/ Client/ MockFactory.php, line 3 
View source
class Redis_Tests_Client_MockFactory implements Redis_Client_FactoryInterface {
  public function getClient($options = array()) {
    return (object) $options;
  }
  public function getName() {
    return 'Mock';
  }
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| Redis_Tests_Client_MockFactory:: | public | function | Get the connected client instance. Overrides Redis_Client_FactoryInterface:: | |
| Redis_Tests_Client_MockFactory:: | public | function | Get underlaying library name used. Overrides Redis_Client_FactoryInterface:: | 
