Skip to content

Commit

Permalink
Merge pull request #18 from nguyenanhung/develop
Browse files Browse the repository at this point in the history
Release version 2.0.0
  • Loading branch information
nguyenanhung authored Oct 2, 2020
2 parents 95b4d91 + 9542770 commit 8dae2fd
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
### 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
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
5 changes: 4 additions & 1 deletion src/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -54,6 +54,9 @@ class Cache implements ProjectInterface, CacheInterface

/**
* Cache constructor.
*
* @author : 713uk13m <dev@nguyenanhung.com>
* @copyright: 713uk13m <dev@nguyenanhung.com>
*/
public function __construct()
{
Expand Down
7 changes: 2 additions & 5 deletions src/ProjectInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 8dae2fd

Please sign in to comment.