1 | <?php /** MicroApcDriver */ |
||
20 | class ApcDriver extends BaseCacheDriver |
||
21 | { |
||
22 | /** |
||
23 | * Constructor |
||
24 | * |
||
25 | * @access public |
||
26 | * |
||
27 | * @param IContainer $container |
||
28 | * @param array $config config array |
||
29 | * |
||
30 | * @result void |
||
31 | * @throws Exception |
||
32 | */ |
||
33 | public function __construct(IContainer $container, array $config = []) |
||
41 | |||
42 | /** |
||
43 | * @inheritdoc |
||
44 | */ |
||
45 | public function check() |
||
53 | |||
54 | /** |
||
55 | * @inheritdoc |
||
56 | */ |
||
57 | public function get($name) |
||
63 | |||
64 | /** |
||
65 | * @inheritdoc |
||
66 | */ |
||
67 | public function set($name, $value, $duration = 300, $new = false) |
||
75 | |||
76 | /** |
||
77 | * @inheritdoc |
||
78 | */ |
||
79 | public function delete($name) |
||
83 | |||
84 | /** |
||
85 | * @inheritdoc |
||
86 | */ |
||
87 | public function clean() |
||
95 | |||
96 | /** |
||
97 | * @inheritdoc |
||
98 | */ |
||
99 | public function info($type = null) |
||
103 | |||
104 | /** |
||
105 | * @inheritdoc |
||
106 | */ |
||
107 | public function getMeta($id) |
||
120 | |||
121 | /** |
||
122 | * @inheritdoc |
||
123 | */ |
||
124 | public function increment($name, $offset = 1) |
||
128 | |||
129 | /** |
||
130 | * @inheritdoc |
||
131 | */ |
||
132 | public function decrement($name, $offset = 1) |
||
136 | } |
||
137 |