You are here

public static function ClientFactory::hasClient in Redis 8

3 calls to ClientFactory::hasClient()
redis_help in ./redis.module
Implements hook_help().
redis_requirements in ./redis.install
Implements hook_requirements().
ReportController::__construct in src/Controller/ReportController.php
ReportController constructor.

File

src/ClientFactory.php, line 75

Class

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

Namespace

Drupal\redis

Code

public static function hasClient() {
  return isset(self::$_client);
}