li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.3.x)
  • lithium
  • storage
  • cache
  • adapter
  • Memcache
  • enabled()

Contents

  • ../

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

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

Determines if the Memcached extension has been installed.

Returns

boolean

Returns true if the Memcached extension is installed and enabled, false otherwise.

Source

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

This will fit excellently
into my very evil plan.

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