You are here

public static function ClientFactory::reset in Redis 8

For unit testing only reset internals.

File

src/ClientFactory.php, line 214

Class

ClientFactory
Common code and client singleton, for all Redis clients.

Namespace

Drupal\redis

Code

public static function reset() {
  self::$_clientInterface = null;
  self::$_client = null;
}