From 47cf7f537845d9d511199c892b9a31bec14345f2 Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 22 Mar 2018 23:22:15 +0300 Subject: [PATCH] code refactoring --- flextype/Cache.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/flextype/Cache.php b/flextype/Cache.php index 78952a23..83fe7d94 100755 --- a/flextype/Cache.php +++ b/flextype/Cache.php @@ -18,30 +18,35 @@ class Cache * @var object */ protected static $instance = null; + /** * Unique cache key * * @var string Cache key. */ protected static $key; + /** * Lifetime * * @var int Lifetime. */ protected static $lifetime; + /** * Current time * * @var int Current time. */ protected static $now; + /** * Cache Driver * * @var DoctrineCache */ protected static $driver; + /** * Protected clone method to enforce singleton behavior. * @@ -182,7 +187,7 @@ class Cache static::$driver->save($id, $data, $lifetime); } } - + /** * Clear Cache */