* add @method annotations to Cache class

* code beautify
This commit is contained in:
slawkens
2019-05-25 00:20:20 +02:00
parent 933b25194c
commit 7b770e09f7
7 changed files with 44 additions and 28 deletions

View File

@@ -10,6 +10,14 @@
*/
defined('MYAAC') or die('Direct access not allowed!');
/**
* Class Cache
*
* @method set($key, $var, $ttl = 0)
* @method get($key)
* @method fetch($key, &$var)
* @method delete($key)
*/
class Cache
{
static private $instance;