From 954277026c24f793e555360355d6d02423f9b23c Mon Sep 17 00:00:00 2001 From: nguyenanhung Date: Fri, 2 Oct 2020 23:08:13 +0700 Subject: [PATCH] Release version 2.0.0 --- README.md | 20 ++++++++++++++++---- composer.json | 4 ++-- src/Cache.php | 5 ++++- src/ProjectInterface.php | 7 ++----- 4 files changed, 24 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d596d90..8eceff1 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,21 @@ # My Cache -Cache by phpfastcache/phpfastcache +[![Latest Stable Version](https://poser.pugx.org/nguyenanhung/my-cache/v/stable)](https://packagist.org/packages/nguyenanhung/my-cache) +[![Total Downloads](https://poser.pugx.org/nguyenanhung/my-cache/downloads)](https://packagist.org/packages/nguyenanhung/my-cache) +[![Latest Unstable Version](https://poser.pugx.org/nguyenanhung/my-cache/v/unstable)](https://packagist.org/packages/nguyenanhung/my-cache) +[![composer.lock](https://poser.pugx.org/nguyenanhung/my-cache/composerlock)](https://packagist.org/packages/nguyenanhung/my-cache) +[![License](https://poser.pugx.org/nguyenanhung/my-cache/license)](https://packagist.org/packages/nguyenanhung/my-cache) -Debug by nguyenanhung/my-debug +- [x] Cache by phpfastcache/phpfastcache v7.0 -Dump by kint-php/kint +- [x] Debug by nguyenanhung/my-debug v2.0 -Custom by dev@nguyenanhung.com \ No newline at end of file +### Contact + +If any quetion & request, please contact following infomation + +| Name | Email | Skype | Facebook | +| ----------- | -------------------- | ---------------- | ------------- | +| Hung Nguyen | dev@nguyenanhung.com | nguyenanhung5891 | @nguyenanhung | + +From Hanoi with Love <3 \ No newline at end of file diff --git a/composer.json b/composer.json index 646d35d..b9b889b 100644 --- a/composer.json +++ b/composer.json @@ -22,8 +22,8 @@ "ext-iconv": "*", "ext-openssl": "*", "ext-mbstring": "*", - "nguyenanhung/my-debug": "^1.0", - "phpfastcache/phpfastcache": "^6.1.3" + "nguyenanhung/my-debug": "^2.0", + "phpfastcache/phpfastcache": "^7.0" }, "autoload": { "psr-4": { diff --git a/src/Cache.php b/src/Cache.php index 9f9886c..3cc7b52 100644 --- a/src/Cache.php +++ b/src/Cache.php @@ -29,7 +29,7 @@ class Cache implements ProjectInterface, CacheInterface private $benchmark; /** @var null|object */ private $cacheInstance; - /** @var array */ + /** @var array|mixed */ private $cacheHandle; /** @var null|string */ private $cacheDriver = NULL; @@ -54,6 +54,9 @@ class Cache implements ProjectInterface, CacheInterface /** * Cache constructor. + * + * @author : 713uk13m + * @copyright: 713uk13m */ public function __construct() { diff --git a/src/ProjectInterface.php b/src/ProjectInterface.php index 0506732..6ecd92f 100644 --- a/src/ProjectInterface.php +++ b/src/ProjectInterface.php @@ -19,11 +19,8 @@ */ interface ProjectInterface { - /** - * Base version of Project - */ - const VERSION = '1.0.5'; - const LAST_MODIFIED = '2020-07-26'; + const VERSION = '2.0.0'; + const LAST_MODIFIED = '2020-10-02'; const AUTHOR_NAME = 'Hung Nguyen'; const AUTHOR_EMAIL = 'dev@nguyenanhung.com'; const PROJECT_NAME = 'My Cache';