Determines if the adapter specified in the named configuration is enabled.
`Enabled` can mean various things, e.g. having a PECL memcached extension compiled & loaded, as well as having the memcache server up & available.

Parameters

  • string $name The named configuration whose adapter will be checked.

Returns

boolean True if adapter is enabled, false if not. This method will return null if no configuration under the given $name exists.

Source

						public static function enabled($name) {
		if (!static::_config($name)) {
			return null;
		}
		$adapter = static::adapter($name);
		return $adapter::enabled();
	}