diff options
Diffstat (limited to 'app/Core/Cache/CacheInterface.php')
-rw-r--r-- | app/Core/Cache/CacheInterface.php | 45 |
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); -} |