/** * @internal for tests only */ public function delete($key) { $this->connectIfNeeded(); return $this->redis->del($key) > 0; }