1 | <?php /** MicroApcDriver */ |
||
19 | class ApcDriver extends CacheDriver |
||
20 | { |
||
21 | /** |
||
22 | * Constructor |
||
23 | * |
||
24 | * @access public |
||
25 | * |
||
26 | * @param array $config config array |
||
27 | * |
||
28 | * @result void |
||
29 | * @throws Exception |
||
30 | */ |
||
31 | public function __construct(array $config = []) |
||
39 | |||
40 | /** |
||
41 | * @inheritdoc |
||
42 | */ |
||
43 | public function check() |
||
51 | |||
52 | /** |
||
53 | * @inheritdoc |
||
54 | */ |
||
55 | public function get($name) |
||
61 | |||
62 | /** |
||
63 | * @inheritdoc |
||
64 | */ |
||
65 | public function set($name, $value, $duration = 300, $new = false) |
||
73 | |||
74 | /** |
||
75 | * @inheritdoc |
||
76 | */ |
||
77 | public function delete($name) |
||
81 | |||
82 | /** |
||
83 | * @inheritdoc |
||
84 | */ |
||
85 | public function clean() |
||
93 | |||
94 | /** |
||
95 | * @inheritdoc |
||
96 | */ |
||
97 | public function info($type = null) |
||
101 | |||
102 | /** |
||
103 | * @inheritdoc |
||
104 | */ |
||
105 | public function getMeta($id) |
||
118 | |||
119 | /** |
||
120 | * @inheritdoc |
||
121 | */ |
||
122 | public function increment($name, $offset = 1) |
||
126 | |||
127 | /** |
||
128 | * @inheritdoc |
||
129 | */ |
||
130 | public function decrement($name, $offset = 1) |
||
134 | } |
||
135 |