src/Spiritix/LadaCache/Cache.php
public function flush()
    {
        $keys = $this->redis->keys($this->redis->prefix('*'));

        foreach ($keys as $key) {
            $this->redis->del($key);
        }
    }
public function flush()
    {
        $keys = $this->redis->keys($this->redis->prefix('*'));

        foreach ($keys as $key) {
            $this->redis->del($key);
        }
    }
public function flush ( ) { $ keys = $ this -> redis -> keys ( $ this -> redis -> prefix ( '*' ) ) ; foreach ( $ keys as $ key ) { $ this -> redis -> del ( $ key ) ; } }
Deletes all items from cache.

This should only be used for maintenance purposes (slow performance).
Deletes all items from cache .