PATH:
home
/
lab2454c
/
vaultchip.com
/
platform
/
core
/
support
/
src
/
Services
/
Cache
<?php namespace Botble\Support\Services\Cache; interface CacheInterface { /** * Retrieve data from cache. * * @param string : cache item key * @param string $key * @return mixed PHP data result of cache */ public function get($key); /** * Add data to the cache. * * @param string : cache item key * @param mixed : the data to store * @param int : the number of minutes to store the item * @param string $key * @return mixed $value variable returned for convenience */ public function put($key, $value, $minutes = false); /** * Test if item exists in cache * Only returns true if exists && is not expired. * * @param string : cache item key * @param string $key * @return bool If cache item exists */ public function has($key); /** * Flush cache * * @return bool If cache is flushed */ public function flush(); }
[-] CacheInterface.php
[edit]
[+]
..
[-] Cache.php
[edit]