/** * {@inheritDoc} * * @see \Mcustiel\SimpleCache\Interfaces\CacheInterface::delete() */ public function delete(KeyInterface $key) { return apc_delete($key->__toString()); }
/** * {@inheritDoc} * @see \Mcustiel\SimpleCache\Interfaces\CacheInterface::delete() */ public function delete(KeyInterface $key) { $this->connection->delete($key->getKeyName()); }
/** * @param \Mcustiel\SimpleCache\Types\Key $key * @return boolean */ private function exists(KeyInterface $key) { return $this->fileService->exists($key->getKeyName()); }