lithium\storage\Cache::clear()

public static method

Clears entire cache by flushing it. All cache keys - without honoring a configured scope - from the specified configuration are removed.

Parameters

  • string $name

    The cache configuration to be cleared.

Returns

boolean

true on successful clearing, false if failed partially or entirely.

Source

	public static function clear($name) {
		return static::adapter($name)->clear();
	}