lithium\storage\cache\adapter\Redis::clear()

public method

Clears entire database by flushing it. All cache keys using the configuration but without honoring the scope are removed.

The behavior and result when removing a single key during this process fails is unknown.

Returns

boolean

true on successful clearing, false otherwise.

Source

	public function clear() {
		return $this->connection->flushdb();
	}