From a7f3e3bec50762f2083f70672a0ba3db533fc8bb Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 4 Mar 2016 21:11:12 -0500 Subject: PHPdoc cleanup --- app/Core/Cache/Base.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'app/Core/Cache') diff --git a/app/Core/Cache/Base.php b/app/Core/Cache/Base.php index d62b8507..2879f1f1 100644 --- a/app/Core/Cache/Base.php +++ b/app/Core/Cache/Base.php @@ -10,6 +10,26 @@ namespace Kanboard\Core\Cache; */ abstract class Base { + /** + * Fetch value from cache + * + * @abstract + * @access public + * @param string $key + * @return mixed Null when not found, cached value otherwise + */ + abstract public function get($key); + + /** + * Save a new value in the cache + * + * @abstract + * @access public + * @param string $key + * @param mixed $value + */ + abstract public function set($key, $value); + /** * Proxy cache * -- cgit v1.2.3