1 | <?php /** MicroArrayCache */ |
||
19 | class ArrayCache extends BaseCache |
||
20 | { |
||
21 | /** @var array $driver array as driver */ |
||
22 | protected $driver = []; |
||
23 | |||
24 | /** |
||
25 | * @inheritdoc |
||
26 | */ |
||
27 | public function check() |
||
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | */ |
||
35 | public function get($name) |
||
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | public function set($name, $value) |
||
47 | |||
48 | /** |
||
49 | * 2@inheritdoc |
||
50 | */ |
||
51 | public function delete($name) |
||
57 | |||
58 | /** |
||
59 | * @inheritdoc |
||
60 | */ |
||
61 | public function clean() |
||
65 | |||
66 | /** |
||
67 | * @inheritdoc |
||
68 | */ |
||
69 | public function info() |
||
73 | |||
74 | /** |
||
75 | * @inheritdoc |
||
76 | */ |
||
77 | public function getMeta($id) |
||
85 | |||
86 | /** |
||
87 | * @inheritdoc |
||
88 | */ |
||
89 | public function increment($name, $offset = 1) |
||
93 | |||
94 | /** |
||
95 | * @inheritdoc |
||
96 | */ |
||
97 | public function decrement($name, $offset = 1) |
||
101 | } |
||
102 |