You are here

public static function Redis_Client::reset in Redis 7.3

Same name and namespace in other branches
  1. 7.2 lib/Redis/Client.php \Redis_Client::reset()

For unit test use only

2 calls to Redis_Client::reset()
Redis_Tests_AbstractUnitTestCase::prepareClientManager in lib/Redis/Tests/AbstractUnitTestCase.php
Prepare client manager
Redis_Tests_AbstractUnitTestCase::restoreClientManager in lib/Redis/Tests/AbstractUnitTestCase.php
Restore client manager

File

lib/Redis/Client.php, line 199

Class

Redis_Client
This static class only reason to exist is to tie Drupal global configuration to OOP driven code of this module: it will handle everything that must be read from global configuration and let other components live without any existence of it

Code

public static function reset(Redis_Client_Manager $manager = null) {
  self::$manager = $manager;
}