lithium\storage\cache\adapter\XCache::enabled()
Overrides
lithium\storage\cache\Adapter::enabled()
Determines if the XCache extension has been installed and if the userspace cache is available.
Returns
booleantrue
if enabled, false
otherwise.
Source
public static function enabled() {
return extension_loaded('xcache');
}