li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (2.0.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

Not sure what those other
guys were talking about but –
hey can you guys be quiet?
I have the microphone. It's my
turn to talk. What? No, you can
grab a snack after I am done…

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