1 | <?php |
||
42 | class ApcCache extends SimpleCache |
||
43 | { |
||
44 | /** |
||
45 | * Initializes this application component. |
||
46 | * It checks if extension required is loaded. |
||
47 | * @throws \yii\base\InvalidConfigException |
||
48 | */ |
||
49 | public function init() |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function has($key) |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | protected function getValue($key) |
||
72 | |||
73 | /** |
||
74 | * {@inheritdoc} |
||
75 | */ |
||
76 | protected function getValues($keys) |
||
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | protected function setValue($key, $value, $ttl) |
||
89 | |||
90 | /** |
||
91 | * {@inheritdoc} |
||
92 | */ |
||
93 | protected function setValues($values, $ttl) |
||
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | protected function deleteValue($key) |
||
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | public function clear() |
||
114 | } |
||
115 |