1 | <?php |
||
18 | class CacheMemory implements Cache { |
||
19 | |||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | private $data = array(); |
||
24 | |||
25 | /** |
||
26 | * @inheritdoc |
||
27 | */ |
||
28 | public function set($key, $value) { |
||
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | */ |
||
35 | public function get($key) { |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | public function has($key) { |
||
45 | |||
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | public function clear($key) { |
||
52 | } |