public function cleanup()
    {
        try {
            $this->driver->flushdb();
        } catch (\Exception $e) {
            throw new ModuleException(
                __CLASS__,
                $e->getMessage()
            );
        }
    }
public function cleanup()
    {
        try {
            $this->driver->flushdb();
        } catch (\Exception $e) {
            throw new ModuleException(
                __CLASS__,
                $e->getMessage()
            );
        }
    }
public function cleanup ( ) { try { $ this -> driver -> flushdb ( ) ; } catch ( \ Exception $ e ) { throw new ModuleException ( __CLASS__ , $ e -> getMessage ( ) ) ; } }
Delete all the keys in the Redis database

@throws ModuleException
Delete all the keys in the Redis database