li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.2.x)
  • lithium
  • storage
  • cache
  • adapter
  • XCache
  • enabled()

Contents

  • ../

lithium\storage\cache\adapter\XCache::enabled()

Overrides lithium\storage\cache\Adapter::enabled()
public static method

Determines if the XCache extension has been installed and if the userspace cache is available.

Returns

boolean

true if enabled, false otherwise.

Source

	public static function enabled() {
		return extension_loaded('xcache');
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

Be your own giant,
with an un–giant framework.

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.