/** * Delete an item from the cache. * * @param string $key * @return void */ public function forget($key) { $this->redis->del($key); }
/** * Flush the entire cache. * * @return void */ public function flush() { $this->redis->flushdb(); }