1 <?php
2 /**
3 * Cross - a micro PHP 5 framework
4 *
5 * @link http://www.crossphp.com
6 * @license MIT License
7 */
8 namespace Cross\I;
9
10 /**
11 * Interface CacheInterface
12 *
13 * @package Cross\I
14 */
15 interface CacheInterface
16 {
17 /**
18 * @param string $key
19 * @return mixed get cache
20 */
21 function get($key = '');
22
23 /**
24 * @param $key
25 * @param $value
26 * @return mixed set
27 */
28 function set($key, $value);
29 }
30