lithium\storage\cache\adapter\Redis::clear()
Overrides
lithium\storage\cache\Adapter::clear()
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
booleantrue
on successful clearing, false
otherwise.
Source
public function clear() {
return $this->connection->flushdb();
}