Back to RedisStorage class

Method isConnected

public static bool
isConnected
()
Test to see if the Redis connection is available.
Returns
  • bool
Since
  • 3.4
Class: RedisStorage
Project: Joomla

Method isConnected - Source code

/**
 * Test to see if the Redis connection is available.
 *
 * @return  boolean
 *
 * @since   3.4
 */
public static function isConnected()
{
    return static::$_redis instanceof \Redis;
}