summaryrefslogtreecommitdiff
path: root/app/Core/Cache/CacheInterface.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-21 18:46:34 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-21 18:46:34 -0400
commit8e83e404fbb1d0dc770e5b41fa315a674541459a (patch)
tree38186a4ef5818133489b41f85f200fa28bed2806 /app/Core/Cache/CacheInterface.php
parent836e93546355e20f5a3cca0e2fd4e649264ce7ac (diff)
Add FileCache driver
Diffstat (limited to 'app/Core/Cache/CacheInterface.php')
-rw-r--r--app/Core/Cache/CacheInterface.php45
1 files changed, 0 insertions, 45 deletions
diff --git a/app/Core/Cache/CacheInterface.php b/app/Core/Cache/CacheInterface.php
deleted file mode 100644
index d9e9747a..00000000
--- a/app/Core/Cache/CacheInterface.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-namespace Kanboard\Core\Cache;
-
-/**
- * Cache Interface
- *
- * @package cache
- * @author Frederic Guillot
- */
-interface CacheInterface
-{
- /**
- * Save a new value in the cache
- *
- * @access public
- * @param string $key
- * @param string $value
- */
- public function set($key, $value);
-
- /**
- * Fetch value from cache
- *
- * @access public
- * @param string $key
- * @return mixed Null when not found, cached value otherwise
- */
- public function get($key);
-
- /**
- * Clear all cache
- *
- * @access public
- */
- public function flush();
-
- /**
- * Remove cached value
- *
- * @access public
- * @param string $key
- */
- public function remove($key);
-}