lithium\storage\cache\adapter\Redis::enabled()
Overrides
lithium\storage\cache\Adapter::enabled()
Determines if the Redis extension has been installed and that there is a Redis server available.
Returns
booleanReturns true
if the Redis extension is enabled, false
otherwise.
Source
public static function enabled() {
return extension_loaded('redis');
}