From fe57edd9e87832dbd14ea8ffd2dc2f16ac1ceb6f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 20 Sep 2015 12:38:35 -0400 Subject: Add abstract cache layer --- app/Core/MemoryCache.php | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 app/Core/MemoryCache.php (limited to 'app/Core/MemoryCache.php') diff --git a/app/Core/MemoryCache.php b/app/Core/MemoryCache.php deleted file mode 100644 index f80a66ef..00000000 --- a/app/Core/MemoryCache.php +++ /dev/null @@ -1,32 +0,0 @@ -storage[$key] = $value; - } - - public function get($key) - { - return isset($this->storage[$key]) ? $this->storage[$key] : null; - } - - public function flush() - { - $this->storage = array(); - } - - public function remove($key) - { - unset($this->storage[$key]); - } -} -- cgit v1.2.3